Skip to content

Commit

Permalink
modify rubocop option for rubocop versions < 1.30 (#665)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyuraku authored Feb 20, 2024
1 parent bef319e commit 5cc2515
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def config_for(file_uri)
def cli_args file_uri, config
file = UriHelpers.uri_to_file(file_uri)
args = [
config['cops'] == 'all' ? '--autocorrect-all' : '--autocorrect',
config['cops'] == 'all' ? '-A' : '-a',
'--cache', 'false',
'--format', formatter_class(config).name,
]
Expand Down

0 comments on commit 5cc2515

Please sign in to comment.