summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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.