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
route(/^auth\s+list/,:list,command: true,restrict_to: :admins,help: {"auth list [GROUP]"=><<-HELP.chompList authorization groups and the users in them. If GROUP is supplied, only lists that group.HELP})
Rubocop reports an offense:
C: TrailingComma: Avoid comma after the last item of a hash.
List authorization groups and the users in them. If GROUP is supplied, only lists that group.
^
The comma appears inside a heredoc and should not be treated as following the final key/value pair of the hash.
Given the code:
Rubocop reports an offense:
The comma appears inside a heredoc and should not be treated as following the final key/value pair of the hash.
Rubocop version details:
The text was updated successfully, but these errors were encountered: