Fixup path-includes-path checker
This commit is contained in:
parent
d15a5a150b
commit
d85f985694
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ impl Store {
|
|||
.map(|can| {
|
||||
can.starts_with(&self.location)
|
||||
})
|
||||
.unwrap_or(false)
|
||||
.unwrap_or(path.starts_with(&self.location))
|
||||
// we return false, as fs::canonicalize() returns an Err(..) on filesystem errors
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue