From 477b2a6b6bd1a7a2d4cd265105c18a1aa5d728fb Mon Sep 17 00:00:00 2001 From: jazzpi Date: Sun, 22 Mar 2015 14:34:37 +0100 Subject: [PATCH] Fix double comprehension --- lib/command.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/command.coffee b/lib/command.coffee index a346b8c..d11ad7d 100644 --- a/lib/command.coffee +++ b/lib/command.coffee @@ -151,8 +151,8 @@ class Command func(range, args) else # Step 8: Match command against existing commands - matching = ([name for name, val of Ex.singleton() when \ - name.indexOf(command) is 0]) + matching = (name for name, val of Ex.singleton() when \ + name.indexOf(command) is 0) matching.sort()