mirror of
https://github.com/codex-storage/nim-leveldb.git
synced 2025-02-17 10:07:37 +00:00
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.insert(tmpNimbleDir / "bin" / "leveldbtool")
|
||||||
quotedArgs = quotedArgs.map(proc (x: string): string = "\"" & x & "\"")
|
quotedArgs = quotedArgs.map(proc (x: string): string = "\"" & x & "\"")
|
||||||
|
|
||||||
if not existsDir(tmpDbDir):
|
if not dirExists(tmpDbDir):
|
||||||
createDir(tmpDbDir)
|
createDir(tmpDbDir)
|
||||||
|
|
||||||
let cmd = quotedArgs.join(" ")
|
let cmd = quotedArgs.join(" ")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user