Closed skryukov closed 1 year ago
This PR fixes an error that happens when RuboCop encounters a syntax error, for example:
{:line=>56, :column=>1, :length=>0, :message=>"Lint/Syntax: unexpected token $end\n(Using Ruby 3.1 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)"}
This PR fixes an error that happens when RuboCop encounters a syntax error, for example: