Skip to content

Commit

Permalink
Fix bug introduced by d58c5b2 for gem sources list
Browse files Browse the repository at this point in the history
When "--list" or "-l" is passed to "gem sources", the command is
currently ignoring it.
  • Loading branch information
Nathan Marley committed Oct 5, 2013
1 parent 34e6dda commit f77671b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/rubygems/commands/sources_command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,7 @@ def list # :nodoc:
end

def list? # :nodoc:
!(options[:list] ||
options[:add] ||
!(options[:add] ||
options[:clear_all] ||
options[:remove] ||
options[:update])
Expand Down

0 comments on commit f77671b

Please sign in to comment.