-
Notifications
You must be signed in to change notification settings - Fork 129
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 --verbose #243
Fix --verbose #243
Conversation
We originally set the verbosity config after loading it from the --verbose flag. #225 grouped that config set with other config settings, before loading the --verbose flag value. As a result, deck always used the default verbosity. This change moves the --verbose flag load above those settings, restoring the ability to control verbosity.
The issue with
Similarly, See 666ce73, which builds on top of this PR and streamlines handling of these parameters, that is:
I recommend cherry-picking that commit into this PR if that looks good to you. |
* fix(cmd) restore verbosity We originally set the verbosity config after loading it from the --verbose flag. #225 grouped that config set with other config settings, before loading the --verbose flag value. As a result, deck always used the default verbosity. This change moves the --verbose flag load above those settings, restoring the ability to control verbosity. * refactor(flags): simplify verbose and noColor Co-authored-by: Michał Flendrich <michal@flendrich.pro>
* fix(cmd) restore verbosity We originally set the verbosity config after loading it from the --verbose flag. #225 grouped that config set with other config settings, before loading the --verbose flag value. As a result, deck always used the default verbosity. This change moves the --verbose flag load above those settings, restoring the ability to control verbosity. * refactor(flags): simplify verbose and noColor Co-authored-by: Michał Flendrich <michal@flendrich.pro>
We originally set the verbosity config after loading it from the
--verbose flag
. #225's changes to fix workspace issues grouped that config set with other config settings, before loading the--verbose
flag value. As a result, deck always uses the default verbosity.This change moves the
--verbose
flag load above those settings, restoring the ability to control verbosity.Originally reported internally in FTI-2144. FWIW, no-color is still after everything in that block, but that doesn’t appear to matter/it’s still applied correctly in 1.2.3. Didn’t dig into how that works, but it doesn’t appear that needs a similar fix, so left it alone.