New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--safe-autocorrect typo? #8252
Labels
Comments
koic
added a commit
to koic/rubocop
that referenced
this issue
Jul 7, 2020
…option Fixes rubocop#8252. This PR fixes a command line option name from `--safe-autocorrect` to `--safe-auto-correct`, which is compatible with RuboCop 0.66 and lower. Before: ```console % bundle exec ./exe/rubocop --safe-auto-correct invalid option: --safe-auto-correct Did you mean? safe-autocorrect For usage information, use --help ``` After: ```console % bundle exec ./exe/rubocop --safe-auto-correct --safe-auto-correct is deprecated; use --auto-correct Inspecting 1082 files ```
8 tasks
bbatsov
pushed a commit
that referenced
this issue
Jul 7, 2020
Fixes #8252. This PR fixes a command line option name from `--safe-autocorrect` to `--safe-auto-correct`, which is compatible with RuboCop 0.66 and lower. Before: ```console % bundle exec ./exe/rubocop --safe-auto-correct invalid option: --safe-auto-correct Did you mean? safe-autocorrect For usage information, use --help ``` After: ```console % bundle exec ./exe/rubocop --safe-auto-correct --safe-auto-correct is deprecated; use --auto-correct Inspecting 1082 files ```
Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I found the
--safe-auto-correct
option has been renamed to--safe-autocorrect
since v0.87.0.It looks like a typo to me.
Expected behavior
rubocop --safe-auto-correct
should succeed.Actual behavior
Steps to reproduce the problem
RuboCop version
Include the output of
rubocop -V
orbundle exec rubocop -V
if using Bundler. Here's an example:The text was updated successfully, but these errors were encountered: