Sha256: e2f8c6b90f940e156f5271e51a968fc6ad68f6f4b770a668a4e3a264f1e4be31

Contents?: true

Size: 337 Bytes

Versions: 4

Compression:

Stored size: 337 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require 'rubocop'

require 'rubocop/changes/checker'
require 'rubocop/changes/options'

args = Rubocop::Changes::Options.new.parse!

offenses = Rubocop::Changes::Checker.new(
  format: args.format,
  quiet: args.quiet,
  commit: args.commit
).run

exit offenses.count.positive? ? 1 : 0

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rubocop-changes-0.3.0 exe/rubocop-changes
rubocop-changes-0.2.2 exe/rubocop-changes
rubocop-changes-0.2.1 exe/rubocop-changes
rubocop-changes-0.2.0 exe/rubocop-changes