Fix not fail

This commit is contained in:
Ganesh Viswanathan 2019-01-19 15:05:51 -06:00
commit be1fe6495c

View file

@ -18,7 +18,7 @@ proc findPath(path: string, fail = true): string =
# Relative to project path
result = joinPathIfRel(getProjectPath(), path).replace("\\", "/")
if not fileExists(result) and not dirExists(result):
doAssert not fail, "File or directory not found: " & path
doAssert (not fail), "File or directory not found: " & path
result = ""
proc walkDirImpl(indir, inext: string, file=true): seq[string] =