Sha256: 01f8fe9c86cbc889a432afe451d0b02df8f27005350d2fda892e96d89a996a9f
Contents?: true
Size: 454 Bytes
Versions: 4
Compression:
Stored size: 454 Bytes
Contents
# frozen_string_literal: true module NeetoCompliance class CircleciConfigVerifier < Base def local_copy ".circleci/config.yml" end def commons_copy NeetoCompliance::NeetoCommons.path.join local_copy end def verify_command "diff -N #{commons_copy} #{local_copy}" end def valid? `#{verify_command}`.empty? end def autofix_command "cp #{commons_copy} #{local_copy}" end end end
Version data entries
4 entries across 4 versions & 2 rubygems