Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description & Motivation
The old script called the "format_coverage" command, which accessed the ".packages" file, which will be completely deprecated in Dart 2.19. Dart 2.18 requires either explicitly requesting the generation of ".packages" with a temporary flag, or removing the reference to the ".packages" file from the script.
The script has been rewritten in a more strict style that stops execution when an error occurs (the old script was executed on error to the end).
The location directory has also been changed to follow the packaging convention.
Related Issue(s)
No.
Testing
Run the script, wait for execution, open index.html
Backwards-compatibility
No. I did not find any references to the old script in the code.
Documentation
No.