Skip to content
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

[Fix #7881] Call act_on_options earlier in CLI#run() #7890

Merged
merged 1 commit into from Apr 19, 2020

Conversation

jonas054
Copy link
Collaborator

This fixes another problem that's similar to the one reported in #7790. The problem is still that configuration is read and cached when we validate options vs configuration. By acting on all options first, we make sure that the first time we read configuration, it's done according to the given options. Specifically, it's the --force-default-config option that's now being respected.

This fixes another problem that's similar to the one reported in rubocop#7790. The
problem is still that configuration is read and cached when we validate options
vs configuration. By acting on all options first, we make sure that the first
time we read configuration, it's done according to the given options.
Specifically, it's the --force-default-config option that's now being
respected.
@bbatsov bbatsov merged commit 0bc7b80 into rubocop:master Apr 19, 2020
@bbatsov
Copy link
Collaborator

bbatsov commented Apr 19, 2020

Nicely done!

@jonas054 jonas054 deleted the 7881_parallel_and_force_default branch April 19, 2020 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants