aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2019-01-19 15:05:51 -0600
committerGanesh Viswanathan <dev@genotrance.com>2019-01-19 15:05:51 -0600
commitbe1fe6495cbd1649a03ce6ee5bcca18e49da9ae1 (patch)
treeb5468090d704e1296816d885918f20476006faf2
parent3d7682c61130101270828582e60ff87a858b3c82 (diff)
downloadnimterop-be1fe6495cbd1649a03ce6ee5bcca18e49da9ae1.tar.gz
nimterop-be1fe6495cbd1649a03ce6ee5bcca18e49da9ae1.zip
Fix not fail
-rw-r--r--nimterop/cimport.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/nimterop/cimport.nim b/nimterop/cimport.nim
index 2bad012..c5955c6 100644
--- a/nimterop/cimport.nim
+++ b/nimterop/cimport.nim
@@ -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] =