You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
ms-ati
changed the title
Layout/SpaceAroundMethodCallOperator - undefined method `begin_pos' for nil:NilClass
Failure in Layout/SpaceAroundMethodCallOperator - undefined method `begin_pos' for nil:NilClass
Aug 5, 2020
Expected behavior
Given a
Guardfile
with the following lines:We expect Rubocop to run all specs without raising internal errors.
Actual behavior
Rubocop 0.88.0 is raising errors in the cop
Layout/SpaceAroundMethodCallOperator
when inspecting such aGuardfile
.Specifically, the code in the form
rspec.(
appears to trigger the following error in Rubocop:Steps to reproduce the problem
Run rubocop against a Guardfile like this one:
http://alfredoroca.github.io/spring/guard/test/2015/07/13/spring-guard
RuboCop version
The text was updated successfully, but these errors were encountered: