Sha256: 4c0c0cdda90026d7d7d571c5a237d7039d333b19529a771e49fc4a0b2476d781
Contents?: true
Size: 469 Bytes
Versions: 2
Compression:
Stored size: 469 Bytes
Contents
module Checker module Modules class Conflict < Base private def check_one(file, opts = {}) [check_for_conflict_start(file), check_for_conflict_end(file)].all_true? end def check_for_conflict_start(file) !plain_command("grep -n \"<<<<<<< \" #{file}", :bundler => false) end def check_for_conflict_end(file) !plain_command("grep -n \">>>>>>> \" #{file}", :bundler => false) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
checker-0.6.4 | lib/checker/modules/conflict.rb |
checker-0.6.3 | lib/checker/modules/conflict.rb |