Mark some more paths as too broad

This commit is contained in:
mtkennerly 2024-04-21 19:49:20 -04:00
parent 7589448030
commit d132d15c21
No known key found for this signature in database
GPG key ID: E764BE00BE6E6408
4 changed files with 22 additions and 39 deletions

View file

@ -270,7 +270,7 @@ impl Game {
fn add_file_constraint(&mut self, path: String, constraint: GameFileConstraint) {
let path = path::normalize(&path);
if path::usable(&path) {
if path::usable(&path) && !path.contains(':') {
self.files.entry(path).or_default().when.insert(constraint);
}
}