Fix rubocop config

`undefined method '[]' for nil:NilClass`
This commit is contained in:
Benjamin Fleischer 2016-02-11 00:51:06 -06:00
parent 54aa6aa499
commit f1b3fe6a37

View File

@ -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