Skip to content

Commit

Permalink
Use <<next>> instead of the next version when running rake new_cop
Browse files Browse the repository at this point in the history
Follow up to 19369de.
  • Loading branch information
koic committed Dec 6, 2021
1 parent a7af7bc commit 4a25b65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ task :new_cop, [:cop] do |_task, args|
generator.inject_require(
root_file_path: 'lib/rubocop/cop/rails_cops.rb'
)
generator.inject_config(config_file_path: 'config/default.yml', version_added: bump_minor_version)
generator.inject_config(config_file_path: 'config/default.yml')

puts generator.todo
end
Expand Down

0 comments on commit 4a25b65

Please sign in to comment.