Sha256: d06942475b6fa3b5a8687a1d8608db1480c3b590dd5dbad98b378db85e73da3f

Contents?: true

Size: 171 Bytes

Versions: 1

Compression:

Stored size: 171 Bytes

Contents

require "shellwords"

module Danger
  class Cmd
    def self.run(cmd)
      stdout, _stderr, _status = Open3.capture3(cmd.shelljoin)

      stdout.strip
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
danger-swiftformat-0.3.3 lib/swiftformat/cmd.rb