Sha256: 3ec267264727d55a584f65b3ec209914a22c79f572e46c3696b4e9edd25262db
Contents?: true
Size: 201 Bytes
Versions: 2
Compression:
Stored size: 201 Bytes
Contents
require "colorize" require "shellwords" module Danger class Cmd def self.run(cmd) stdout, _stderr, _status = Open3.capture3(cmd.shelljoin) stdout.strip.uncolorize end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
danger-swiftformat-0.3.5 | lib/swiftformat/cmd.rb |
danger-swiftformat-0.3.4 | lib/swiftformat/cmd.rb |