fixes a recently introduced regression
This commit is contained in:
parent
113a1c450c
commit
297647affe
1 changed files with 2 additions and 3 deletions
|
|
@ -188,9 +188,8 @@ proc getPrefixDir*(): string =
|
|||
result = splitPath(getAppDir()).head
|
||||
|
||||
proc canonicalizePath*(path: string): string =
|
||||
#result = path.expandFilename
|
||||
when not FileSystemCaseSensitive: result = path.toLower
|
||||
else: result = path
|
||||
when not FileSystemCaseSensitive: result = path.expandFilename.toLower
|
||||
else: result = path.expandFilename
|
||||
|
||||
proc shortenDir*(dir: string): string =
|
||||
## returns the interesting part of a dir
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue