lib/swiftformat/cmd.rb in danger-swiftformat-0.3.5 vs lib/swiftformat/cmd.rb in danger-swiftformat-0.3.6
- old
+ new
@@ -1,12 +1,12 @@
-require "colorize"
+require "colored2"
require "shellwords"
module Danger
class Cmd
def self.run(cmd)
stdout, _stderr, _status = Open3.capture3(cmd.shelljoin)
- stdout.strip.uncolorize
+ stdout.strip.no_color
end
end
end