Ensure paths are trimmed
This commit is contained in:
parent
faf32b040a
commit
ec0a463a50
2 changed files with 2 additions and 2 deletions
|
@ -153718,7 +153718,7 @@ Dynasty Warriors 9:
|
||||||
os: windows
|
os: windows
|
||||||
store: steam
|
store: steam
|
||||||
registry:
|
registry:
|
||||||
'HKEY_CURRENT_USER/Software/KoeiTecmo/Dynasty Warriors 9 Empires for Steam ':
|
HKEY_CURRENT_USER/Software/KoeiTecmo/Dynasty Warriors 9 Empires for Steam:
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
steam:
|
steam:
|
||||||
|
|
|
@ -324,7 +324,7 @@ function parsePath(path: string): [string, PathType] {
|
||||||
path = path.slice(0, path.length - 2);
|
path = path.slice(0, path.length - 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
return [path, pathType];
|
return [path.trim(), pathType];
|
||||||
}
|
}
|
||||||
|
|
||||||
export function pathIsTooBroad(path: string): boolean {
|
export function pathIsTooBroad(path: string): boolean {
|
||||||
|
|
Reference in a new issue