Fix CWD without trainling slash
This commit is contained in:
parent
96c269abe6
commit
a716eee4c3
|
@ -96,6 +96,9 @@ impl Context {
|
|||
canon
|
||||
} else {
|
||||
let mut canon = cwd.clone();
|
||||
if ! canon.ends_with(b"/") {
|
||||
canon.push(b'/');
|
||||
}
|
||||
canon.extend_from_slice(&path);
|
||||
canon
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue