Skip to content

Don't crash when pubspec isn't a map - #59632

Merged
fluttergithubbot merged 1 commit into
flutter:masterfrom
jmagman:parse-yaml-string
Jun 17, 2020
Merged

fluttergithubbot merged 1 commit into
flutter:masterfrom
jmagman:parse-yaml-string

Conversation

@jmagman

@jmagman jmagman commented Jun 17, 2020

Copy link
Copy Markdown
Member

Description

Validation error when the pubspec is valid YAML, but not a map.

Related Issues

Fixes #59610

Tests

flutter_manifest_test

Checklist

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • I signed the [CLA].
  • I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
  • I read the [Tree Hygiene] wiki page, which explains my responsibilities.
  • I updated/added relevant documentation (doc comments with ///).
  • All existing and new tests are passing.
  • The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

  • No, no existing tests failed, so this is not a breaking change.
  • Yes, this is a breaking change. If not, delete the remainder of this section.

@jmagman jmagman added the tool Affects the "flutter" command-line tool. See also t: labels. label Jun 17, 2020
@jmagman
jmagman requested a review from jonahwilliams June 17, 2020 02:01
@jmagman jmagman self-assigned this Jun 17, 2020

@jonahwilliams jonahwilliams left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@zanderso

Copy link
Copy Markdown
Member

Thanks!

zljj0818 pushed a commit to zljj0818/flutter that referenced this pull request Jun 22, 2020
@jmagman
jmagman deleted the parse-yaml-string branch June 24, 2020 19:35
mingwandroid pushed a commit to mingwandroid/flutter that referenced this pull request Sep 6, 2020
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cast error in flutter manifest yaml parser

5 participants