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
foo.rb:1:33: C: Style/TrailingCommaInLiteral: Put a comma after the last item of a multiline array.
let(:available_channels) { [{name: channel_name, api_identifier: channel_api_id}] }
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
but this is not a multiline array; in fact, there's only one line in the whole file so it can't be a multiline array by definition!
The text was updated successfully, but these errors were encountered:
I think I found the root cause of this issue, and proposed a patch in #2757
After investigation it seems that the issue was only for single element array/hash, do you confirm @fj ?
Rubocop complains:
but this is not a multiline array; in fact, there's only one line in the whole file so it can't be a multiline array by definition!
The text was updated successfully, but these errors were encountered: