mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-21 00:11:26 +00:00
make nake test compile again
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user