Don't die on nimcheck for cached files

This commit is contained in:
Joey Yakimowich-Payne 2020-09-17 19:59:41 -06:00
commit 217bce386a

View file

@ -212,7 +212,7 @@ proc getFileDate*(fullpath: string): string =
elif defined(OSX) or defined(FreeBSD):
&"stat -f %m {fullpath.sanitizePath}"
(result, ret) = execAction(cmd)
(result, ret) = execAction(cmd, die=false)
proc touchFile*(fullpath: string) =
## Touch file to update modified date