Skip to content

Commit

Permalink
Merge pull request #672 from nmarley/fix-list-command
Browse files Browse the repository at this point in the history
gem sources --list doesn't print anything to the terminal
  • Loading branch information
drbrain committed Oct 9, 2013
2 parents b33e5df + f77671b commit ee2977c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/rubygems/commands/sources_command.rb
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 ee2977c

Please sign in to comment.