summary refs log tree commit diff stats
path: root/tests/manyloc/nake/nake.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manyloc/nake/nake.nim')
-rw-r--r--tests/manyloc/nake/nake.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manyloc/nake/nake.nim b/tests/manyloc/nake/nake.nim
index fc871cb80..ff3c10a17 100644
--- a/tests/manyloc/nake/nake.nim
+++ b/tests/manyloc/nake/nake.nim
@@ -75,7 +75,7 @@ else:
       of cmdArgument:
         task = key
       else: discard
-    if printTaskList or task.isNil or not(tasks.hasKey(task)):
+    if printTaskList or task.len == 0 or not(tasks.hasKey(task)):
       echo "Available tasks:"
       for name, task in pairs(tasks):
         echo name, " - ", task.desc