Fixup path-includes-path checker

This commit is contained in:
Matthias Beyer 2016-02-09 17:16:55 +01:00
parent d15a5a150b
commit d85f985694
1 changed files with 1 additions and 1 deletions

View File

@ -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
}