Sha256: 68cd1d44f1ef6760be62c9d422d28cda3098c06dd016b9086010dfa3701a92c0

Contents?: true

Size: 143 Bytes

Versions: 7

Compression:

Stored size: 143 Bytes

Contents

require "colored2"
require "shellwords"

module Danger
  class Cmd
    def self.run(cmd)
      Open3.capture3(cmd.shelljoin)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
danger-swiftformat-0.9.0 lib/swiftformat/cmd.rb
danger-swiftformat-0.8.1 lib/swiftformat/cmd.rb
danger-swiftformat-0.8.0 lib/swiftformat/cmd.rb
danger-swiftformat-0.7.0 lib/swiftformat/cmd.rb
danger-swiftformat-0.6.0 lib/swiftformat/cmd.rb
danger-swiftformat-0.5.0 lib/swiftformat/cmd.rb
danger-swiftformat-0.4.0 lib/swiftformat/cmd.rb