-
-
Notifications
You must be signed in to change notification settings - Fork 601
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
feat: update commander to v9 #3460
Conversation
e4d5e23
to
9f7e78b
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## next #3460 +/- ##
=======================================
Coverage 91.30% 91.30%
=======================================
Files 22 22
Lines 1587 1588 +1
Branches 447 447
=======================================
+ Hits 1449 1450 +1
Misses 138 138
Continue to review full report at Codecov.
|
[webpack-cli] Run 'webpack --help' to see available commands and options" | ||
`; | ||
|
||
exports[`unknown behaviour should log an error if an unknown flag is passed and suggests the closest match to an unknown flag using "b" command: stdout 1`] = `""`; | ||
|
||
exports[`unknown behaviour should log an error if an unknown flag is passed and suggests the closest match to an unknown flag using "bundle" command: stderr 1`] = ` | ||
"[webpack-cli] Error: Unknown option '--entyr' | ||
[webpack-cli] Did you mean '--entry'? | ||
(Did you mean --entry?) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will be great to have [webpack-cli]
prefix here, is there the places where we can hook?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we can disable it with this.program.showSuggestionAfterError(false);
and keep our own logic.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, one note
@alexander-akait Done 👍🏻 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to merge ⭐
What kind of change does this PR introduce?
feature
Did you add tests for your changes?
Updated snapshots and tests.
If relevant, did you update the documentation?
No
Summary
Does this PR introduce a breaking change?
No
Other information
No