fix warning since nim 1.4.0
This commit is contained in:
parent
a6678b2688
commit
6cf9f7f938
|
@ -34,7 +34,7 @@ proc execTool(args: varargs[string]): tuple[output: string, exitCode: int] =
|
|||
quotedArgs.insert(tmpNimbleDir / "bin" / "leveldbtool")
|
||||
quotedArgs = quotedArgs.map(proc (x: string): string = "\"" & x & "\"")
|
||||
|
||||
if not existsDir(tmpDbDir):
|
||||
if not dirExists(tmpDbDir):
|
||||
createDir(tmpDbDir)
|
||||
|
||||
let cmd = quotedArgs.join(" ")
|
||||
|
|
Loading…
Reference in New Issue