Sha256: 6f7b47c048033122e23f92e052aa2cda6fe04fd4856857aae7732ab07df8e5ec
Contents?: true
Size: 264 Bytes
Versions: 2
Compression:
Stored size: 264 Bytes
Contents
module Checker module Results class ConsoleLog < Default def success? Checker::Options.prevent_commit_on_warning && exitstatus == 0 ? false : true end def status exitstatus == 1 ? :ok : :warning end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
checker-0.8.0.beta2 | lib/checker/results/console_log.rb |
checker-0.8.0.beta | lib/checker/results/console_log.rb |