Sha256: 1647b97c6015d77cc56196ce40baa149228765d46abaee5e4b2eb42d2084ed7c

Contents?: true

Size: 199 Bytes

Versions: 1

Compression:

Stored size: 199 Bytes

Contents

require "colored2"
require "shellwords"

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

      stdout.strip.no_color
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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