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