mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
Fix rubocop config
`undefined method '[]' for nil:NilClass`
This commit is contained in:
parent
54aa6aa499
commit
f1b3fe6a37
2
Rakefile
2
Rakefile
@ -29,7 +29,7 @@ else
|
||||
Rake::Task[:rubocop].clear if Rake::Task.task_defined?(:rubocop)
|
||||
desc 'Execute rubocop'
|
||||
RuboCop::RakeTask.new(:rubocop) do |task|
|
||||
task.options = ['--rails', '--display-cop-names', '--display-style-guide']
|
||||
task.options = ['--display-cop-names', '--display-style-guide']
|
||||
task.fail_on_error = true
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user