diff options
| -rw-r--r-- | nimterop/cimport.nim | 2 |
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] = |
