Skip to content
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

Consider defaulting to --suppress-fe-warnings with pub run #51033

Open
natebosch opened this issue Oct 9, 2018 · 1 comment
Open

Consider defaulting to --suppress-fe-warnings with pub run #51033

natebosch opened this issue Oct 9, 2018 · 1 comment
Labels
area-dart-cli Use area-dart-cli for issues related to the 'dart' command like tool.

Comments

@natebosch
Copy link
Member

See discussion at #34137 (comment)

Assuming the default remains to print frontend warnings on startup we may want to alway suppress them with pub run and pub global run - including in the shell script created to execute the entrypoint without pub. The reasoning is that the user who activated a package and is running with pub is the least likely to be the developer and the least likely to be able to take action on the warnings.

As is this is an edge case - fe warnings only come in to play when running from source which is not the common pattern. dart-lang/pub#1683 would tip the scales though.

@sigurdm
Copy link
Contributor

sigurdm commented Jan 17, 2023

Is this still a thing?

In all cases pub run no longer exists. It is now dart run. Transferring to the sdk issue tracker.

@sigurdm sigurdm transferred this issue from dart-lang/pub Jan 17, 2023
@srawlins srawlins added the area-dart-cli Use area-dart-cli for issues related to the 'dart' command like tool. label Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-dart-cli Use area-dart-cli for issues related to the 'dart' command like tool.
Projects
None yet
Development

No branches or pull requests

3 participants