Skip to content

Commit

Permalink
[Pod::Command] --no-color block arguments fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiopelosin committed Apr 26, 2012
1 parent 7d973f6 commit 819d1eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cocoapods/command.rb
Expand Up @@ -89,7 +89,7 @@ def self.parse(*argv)
Config.instance.silent = argv.option('--silent')
Config.instance.verbose = argv.option('--verbose')

String.send(:define_method, :colorize) { return self } if argv.option('--no-color')
String.send(:define_method, :colorize) { |string , _| string } if argv.option( '--no-color' )

command_class = case argv.shift_argument
when 'install' then Install
Expand Down

0 comments on commit 819d1eb

Please sign in to comment.