diff options
author | elijah <elijah@riseup.net> | 2016-07-20 23:46:48 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2016-07-20 23:46:48 -0700 |
commit | 47b3bb60a20674d029950ebd39f6aacf67e81866 (patch) | |
tree | a73552a25b00f56468351d9b18fa65e278ab395f /lib/leap_cli/commands | |
parent | a8efdb865dbea99e619c0353d707da39118e6e28 (diff) |
include support for AWS via fog
Diffstat (limited to 'lib/leap_cli/commands')
-rw-r--r-- | lib/leap_cli/commands/common.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/commands/common.rb b/lib/leap_cli/commands/common.rb index d49490e..3dab2a0 100644 --- a/lib/leap_cli/commands/common.rb +++ b/lib/leap_cli/commands/common.rb @@ -20,7 +20,7 @@ module LeapCli; module Commands items.each_with_index(&block) say("q. quit") index = ask("number 1-#{items.length}> ") - if index.empty? + if index.nil? || index.empty? next elsif index =~ /q/ bail! |