Normalize symlinks
This commit is contained in:
parent
1ccf4c8e41
commit
a867c726a9
1 changed files with 1 additions and 1 deletions
|
|
@ -403,6 +403,6 @@ proc loadPlugin*(gState: State, sourcePath: string) =
|
|||
|
||||
proc expandSymlinkAbs*(path: string): string =
|
||||
try:
|
||||
result = path.expandSymlink().absolutePath(path.parentDir())
|
||||
result = path.expandSymlink().absolutePath(path.parentDir()).normalizedPath()
|
||||
except:
|
||||
result = path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue