summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorflywind <43030857+xflywind@users.noreply.github.com>2020-07-17 16:53:26 +0800
committerGitHub <noreply@github.com>2020-07-17 10:53:26 +0200
commit9fb7467fda597957634b17782745a7f25d83296f (patch)
tree370a3371dfb23bcf952271a758a5ccbe52dd05a7
parent6b607413e90111f74dd77c1fa31ba5f183f72bdf (diff)
downloadNim-9fb7467fda597957634b17782745a7f25d83296f.tar.gz
fix #15006 (#15007)
-rw-r--r--lib/system/nimscript.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/nimscript.nim b/lib/system/nimscript.nim
index bf298e0d4..9e19fcfc4 100644
--- a/lib/system/nimscript.nim
+++ b/lib/system/nimscript.nim
@@ -142,7 +142,7 @@ template existsFile*(args: varargs[untyped]): untyped {.deprecated: "use fileExi
   fileExists(args)
 
 template existsDir*(args: varargs[untyped]): untyped {.deprecated: "use dirExists".} =
-  dirExists(dir)
+  dirExists(args)
 
 proc selfExe*(): string =
   ## Returns the currently running nim or nimble executable.