Merge pull request #210 from Habbie/patch-1

count should be length
This commit is contained in:
Stephen Dolan committed 2013-11-08 03:43:57 -08:00
commit d235f32bc9
1 file changed
+1 -1
+1 -1
View File
@@ -946,7 +946,7 @@ sections:
means that you'll sometimes have to be more explicit about
the condition you want: you can't test whether, e.g. a
string is empty using `if .name then A else B end`, you'll
need something more like `if (.name | count) > 0 then A else
need something more like `if (.name | length) > 0 then A else
B end` instead.
If the condition A produces multiple results, it is