Skip to content

Commit

Permalink
Stop using deprecated cli args
Browse files Browse the repository at this point in the history
  • Loading branch information
baelter committed Oct 10, 2022
1 parent 49b45e6 commit a4f2458
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' ? '--auto-correct-all' : '--auto-correct',
config['cops'] == 'all' ? '--autocorrect-all' : '--autocorrect',
'--cache', 'false',
'--format', formatter_class(config).name,
]
Expand Down

0 comments on commit a4f2458

Please sign in to comment.