fixes #786
This commit is contained in:
parent
4886cde781
commit
f2d6edd861
1 changed files with 2 additions and 0 deletions
|
|
@ -269,6 +269,8 @@ proc processPath(path: string, info: TLineInfo,
|
|||
"config", info.toFullPath().splitFile().dir,
|
||||
"projectname", options.gProjectName,
|
||||
"projectpath", options.gProjectPath])
|
||||
if '~' in result:
|
||||
result = result.replace("~", os.getHomeDir())
|
||||
except ValueError:
|
||||
localError(info, "invalid path: " & p)
|
||||
result = p
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue