Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade rubocop to fix Style/WordArray warning.
A few users have run into this problem, and upgrading rubocop (specifically the parsing dependencies) fixes the issue. Example engine output is shown below. Before this change ================== ``` An error occurred while Style/WordArray cop was inspecting config/initializers/logs.rb. To see the complete backtrace run rubocop -d. ``` After this change ================= ``` warning: parser/current is loading parser/ruby22, which recognizes warning: 2.2.3-compliant syntax, but you are running 2.2.2. warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri. ``` Note: this version warning is new, but as there were no syntax changes introduced in ruby 2.2.3, I don't believe it is an issue. (https://www.ruby-lang.org/en/news/2015/08/18/ruby-2-2-3-released/)
- Loading branch information