mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-02 18:07:59 +00:00
fixes a recently introduced regression
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user