Skip to content

Commit

Permalink
Fix rubocop config
Browse files Browse the repository at this point in the history
`undefined method '[]' for nil:NilClass`
  • Loading branch information
bf4 committed Feb 11, 2016
1 parent 54aa6aa commit f1b3fe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -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
Expand Down

0 comments on commit f1b3fe6

Please sign in to comment.