Fix missing .len

This commit is contained in:
joachimschmidt557 2019-03-11 21:14:55 +01:00
parent 045db2abec
commit 268af8007f
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ import cligen, sequtils
import common
proc main(integers:seq[int]) =
if integers > 0:
if integers.len > 0:
echo integers.foldl(a * b)
dispatch(main, version=("version", nimbaseVersion))