-
Notifications
You must be signed in to change notification settings - Fork 233
feat: Add --ignore-warnings flag to pub publish --dry-run #4698
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
Conversation
| @@ -0,0 +1,67 @@ | |||
| // Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file | |||
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.
| // Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file | |
| // Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file |
lib/src/command/lish.dart
Outdated
| valueHelp: 'dir', | ||
| ); | ||
| argParser.addFlag( | ||
| 'fatal-warnings', |
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.
Nit: I somehow feel that this name is not the best... Maybe 'ignore-warnings' or something along that path?? Not sure...
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.
Yeah - that's better - less negation...
publish --dry-run --no-fatal-warningsc8b57cf to
47c5a83
Compare
47c5a83 to
a0f6384
Compare
Fixes #4696