You've already forked AstralRinth
forked from didirus/AstralRinth
remove 'source file' validation (#671)
This commit is contained in:
@@ -36,15 +36,6 @@ impl super::Validator for FabricValidator {
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
if !archive
|
|
||||||
.file_names()
|
|
||||||
.any(|name| name.ends_with("refmap.json") || name.ends_with(".class"))
|
|
||||||
{
|
|
||||||
return Ok(ValidationResult::Warning(
|
|
||||||
"Fabric mod file is a source file!",
|
|
||||||
));
|
|
||||||
}
|
|
||||||
|
|
||||||
Ok(ValidationResult::Pass)
|
Ok(ValidationResult::Pass)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user