Ensure paths are trimmed
This commit is contained in:
parent
faf32b040a
commit
ec0a463a50
2 changed files with 2 additions and 2 deletions
|
@ -324,7 +324,7 @@ function parsePath(path: string): [string, PathType] {
|
|||
path = path.slice(0, path.length - 2);
|
||||
}
|
||||
|
||||
return [path, pathType];
|
||||
return [path.trim(), pathType];
|
||||
}
|
||||
|
||||
export function pathIsTooBroad(path: string): boolean {
|
||||
|
|
Reference in a new issue