Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
Fix quilt validator (#916)
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically authored May 9, 2024
1 parent 49cf0c8 commit b933202
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/validate/quilt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ impl super::Validator for QuiltValidator {
&self,
archive: &mut ZipArchive<Cursor<bytes::Bytes>>,
) -> Result<ValidationResult, ValidationError> {
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.",
));
Expand Down

0 comments on commit b933202

Please sign in to comment.