support different languages for mmc-pack.json
This commit is contained in:
parent
401c620731
commit
b90aef8e23
1 changed files with 3 additions and 1 deletions
|
@ -506,7 +506,9 @@ fn corrupted_instance(log: &str) -> Issue {
|
||||||
.to_string(),
|
.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)
|
found.then_some(issue)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue