[Command] Also disable colored2 when ansi output is disabled

parent 6d8e5d0e
......@@ -87,6 +87,7 @@ module Pod
config.silent = argv.flag?('silent', config.silent)
config.verbose = self.verbose? unless verbose.nil?
unless self.ansi_output?
Colored2.disable!
String.send(:define_method, :colorize) { |string, _| string }
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment