lib/swiftformat/cmd.rb in danger-swiftformat-0.3.6 vs lib/swiftformat/cmd.rb in danger-swiftformat-0.4.0
- old
+ new
@@ -2,11 +2,9 @@
require "shellwords"
module Danger
class Cmd
def self.run(cmd)
- stdout, _stderr, _status = Open3.capture3(cmd.shelljoin)
-
- stdout.strip.no_color
+ Open3.capture3(cmd.shelljoin)
end
end
end