-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
create_api_docs.dart: correct command logging #155226
Conversation
The tool currently prints that the _dart_ command is run, and does not include the 'pub' sub-command. Something like: ```none /private/var/folders/72/ltck4q353hsg3bn8kpkg7f84005w15/T/flutterzXpww6/bin/dart \ global run --enable-asserts dartdoc ``` (newline mine) But this is incorrect; the `runPubGet` function runs the _flutter_ command, and prepends `pub` to the list of arguments.
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. The test exemption team is a small volunteer group, so all reviewers should feel empowered to ask for tests, without delegating that responsibility entirely to the test exemption group. |
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 like the analyzer warning is legit. |
…lutter into correct-create-api-docs-output
flutter/flutter@2f149da...4ca51a1 2024-09-23 engine-flutter-autoroll@skia.org Roll Flutter Engine from c1bcd87b44a3 to 61f0a3fbabbe (1 revision) (flutter/flutter#155534) 2024-09-23 engine-flutter-autoroll@skia.org Roll Flutter Engine from c11e75b9842a to c1bcd87b44a3 (1 revision) (flutter/flutter#155528) 2024-09-23 engine-flutter-autoroll@skia.org Roll Flutter Engine from 0155f8fc4569 to c11e75b9842a (9 revisions) (flutter/flutter#155524) 2024-09-22 engine-flutter-autoroll@skia.org Roll Flutter Engine from 76b7abb5c853 to 0155f8fc4569 (1 revision) (flutter/flutter#155472) 2024-09-22 srawlins@google.com create_api_docs.dart: correct command logging (flutter/flutter#155226) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC louisehsu@google.com,rmistry@google.com,stuartmorgan@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
The tool currently prints that the _dart_ command is run, and does not include the 'pub' sub-command. Something like: ```none /private/var/folders/72/ltck4q353hsg3bn8kpkg7f84005w15/T/flutterzXpww6/bin/dart \ global run --enable-asserts dartdoc ``` (newline mine) But this is incorrect; the `runPubGet` function runs the _flutter_ command, and prepends `pub` to the list of arguments.
The tool currently prints that the dart command is run, and does not include the 'pub' sub-command. Something like:
(newline mine)
But this is incorrect; the
runPubGet
function runs the flutter command, and prependspub
to the list of arguments.