From b933202694a820ebb6af0cee1f8ebf5058df2693 Mon Sep 17 00:00:00 2001 From: Geometrically <18202329+Geometrically@users.noreply.github.com> Date: Wed, 8 May 2024 20:28:40 -0700 Subject: [PATCH] Fix quilt validator (#916) --- src/validate/quilt.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/validate/quilt.rs b/src/validate/quilt.rs index f013a323..8e3e5b0a 100644 --- a/src/validate/quilt.rs +++ b/src/validate/quilt.rs @@ -25,7 +25,8 @@ impl super::Validator for QuiltValidator { &self, archive: &mut ZipArchive>, ) -> Result { - if archive.by_name("quilt.mod.json").is_err() { + if archive.by_name("quilt.mod.json").is_err() && archive.by_name("fabric.mod.json").is_err() + { return Ok(ValidationResult::Warning( "No quilt.mod.json present for Quilt file.", ));