-
Notifications
You must be signed in to change notification settings - Fork 28.7k
[flutter_tool] Catch a yaml parse failure during project creation #36105
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
Conversation
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.
LGTM!
Codecov Report
@@ Coverage Diff @@
## master #36105 +/- ##
==========================================
- Coverage 54.83% 54.4% -0.43%
==========================================
Files 187 187
Lines 17150 17153 +3
==========================================
- Hits 9404 9332 -72
- Misses 7746 7821 +75
Continue to review full report at Codecov.
|
flutter/engine#9935 Fix backspace crash on Chinese devices #36105 Catch a yaml parse failure during project creation
This PR has been merged into a hotfix candidate, 1.7.8+hotfix.4, currently in the beta channel. If it soaks well, we anticipate pushing this to stable soon. |
flutter/engine#9935 Fix backspace crash on Chinese devices flutter#36105 Catch a yaml parse failure during project creation
Description
Previously, this resulted in an unhandled exception. Now this will throwToolExit and propagate the parse error from the yaml parser.
Related Issues
#35915
Tests
I added the following tests:
Test in test/project_test.dart.
Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?