support different languages for mmc-pack.json

This commit is contained in:
maskers 2025-06-07 11:19:15 +03:00
parent 401c620731
commit b90aef8e23

View file

@ -506,7 +506,9 @@ fn corrupted_instance(log: &str) -> Issue {
.to_string(),
);
let found = log.contains("mmc-pack.json as json: illegal value");
let found = Regex::new(r"mmc-pack.json.*illegal value")
.unwrap()
.is_match(log);
found.then_some(issue)
}