Skip to content

Commit 3cd21e3

Browse files
committed
Use rubcop:autocorrect task
1 parent 017bb9f commit 3cd21e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ group :development do
77
gem 'racc', '> 1.4.10'
88
gem 'kpeg', github: 'evanphx/kpeg'
99
gem 'test-unit'
10-
gem 'rubocop'
10+
gem 'rubocop', '>= 1.31.0'
1111
gem 'gettext'
1212
end

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,5 +105,5 @@ else
105105
RuboCop::RakeTask.new(:rubocop) do |t|
106106
t.options = [*parsed_files]
107107
end
108-
task :build => [:generate, "rubocop:auto_correct"]
108+
task :build => [:generate, "rubocop:autocorrect"]
109109
end

0 commit comments

Comments
 (0)