From be1fe6495cbd1649a03ce6ee5bcca18e49da9ae1 Mon Sep 17 00:00:00 2001 From: Ganesh Viswanathan Date: Sat, 19 Jan 2019 15:05:51 -0600 Subject: Fix not fail --- nimterop/cimport.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] = -- cgit v1.2.3