lib/swiftformat/cmd.rb in danger-swiftformat-0.3.1 vs lib/swiftformat/cmd.rb in danger-swiftformat-0.3.2

- old
+ new

@@ -1,8 +1,8 @@ module Danger class Cmd def self.run(cmd) - stdout, _stderr, _status = Open3.capture3(*cmd) + stdout, _stderr, _status = Open3.capture3(cmd.shelljoin) stdout.strip end end end