Don't die on nimcheck for cached files
This commit is contained in:
parent
1b8aa46b8a
commit
217bce386a
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ proc getFileDate*(fullpath: string): string =
|
||||||
elif defined(OSX) or defined(FreeBSD):
|
elif defined(OSX) or defined(FreeBSD):
|
||||||
&"stat -f %m {fullpath.sanitizePath}"
|
&"stat -f %m {fullpath.sanitizePath}"
|
||||||
|
|
||||||
(result, ret) = execAction(cmd)
|
(result, ret) = execAction(cmd, die=false)
|
||||||
|
|
||||||
proc touchFile*(fullpath: string) =
|
proc touchFile*(fullpath: string) =
|
||||||
## Touch file to update modified date
|
## Touch file to update modified date
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue