-
Notifications
You must be signed in to change notification settings - Fork 29.5k
Do not silently fail pub get even if output-mode is "none"
#153596
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
Do not silently fail pub get even if output-mode is "none"
#153596
Conversation
|
One failure is essentially a lint - I can fix that. The other is a test that expected no failure ( I suspect updating the test is the right call, but I'm also not 100% sure. |
andrewkolos
left a comment
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.
Thanks!
|
I spoke a bit soon! Looks like this is failing |
|
This is failing customer_testing due to seemingly unrelated compilation errors 🤷. I wonder what's going on and whether a rebase/merge would fix this PR. |
…#153596) I am making an assumption `OutputMode.none` should _really_ mean `OutputMode.failuresOnly`, that is, if we ever get a non-zero exit code, we still want to know why. If I've somehow misunderstood that, LMK and I'm happy to revert this PR or make adjustments. This fixes the bug where if you were to do: ```sh git clone https://github.com/myuser/fork-of-flutter cd fork-of-flutter ./bin/flutter update-packages ``` You now get: 1. An actual error message, versus no output at all. 2. A warning that a common reason is not tracking a remote, with instructions to fix it. Closes flutter#148569.
I am making an assumption
OutputMode.noneshould really meanOutputMode.failuresOnly, that is, if we ever get a non-zero exit code, we still want to know why. If I've somehow misunderstood that, LMK and I'm happy to revert this PR or make adjustments.This fixes the bug where if you were to do:
git clone https://github.com/myuser/fork-of-flutter cd fork-of-flutter ./bin/flutter update-packagesYou now get:
Closes #148569.