Skip to content

Conversation

@sigurdm
Copy link
Contributor

@sigurdm sigurdm commented Oct 30, 2025

Fixes #4696

@sigurdm sigurdm requested a review from szakarias October 30, 2025 14:58
@sigurdm sigurdm changed the title feature/fatal warnings publish --dry-run --no-fatal-warnings Oct 30, 2025
@@ -0,0 +1,67 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file

valueHelp: 'dir',
);
argParser.addFlag(
'fatal-warnings',
Copy link
Contributor

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...

Copy link
Contributor Author

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...

@sigurdm sigurdm changed the title publish --dry-run --no-fatal-warnings feat: Add --ignore-warnings flag to pub publish --dry-run Oct 31, 2025
@sigurdm sigurdm force-pushed the feature/fatal-warnings branch from c8b57cf to 47c5a83 Compare October 31, 2025 12:41
@sigurdm sigurdm force-pushed the feature/fatal-warnings branch from 47c5a83 to a0f6384 Compare October 31, 2025 12:43
@sigurdm sigurdm merged commit bd89adf into dart-lang:master Oct 31, 2025
42 of 45 checks passed
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.

dart pub publish --dry-run returns exit code 65 on warnings, while actual publish succeeds (exit 0)

2 participants