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

Display an error message instead of crashing on wrong data type in dartdoc_options.yaml #3372

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

jcollins-g
Copy link
Contributor

Fixes #3365.

New error message:

Documenting input_country...

dartdoc 6.2.0 (/Users/jcollins/dart/dartdoc/bin/dartdoc.dart) failed: Error in dartdoc_options.yaml, dartdoc.include: expecting a list of Strings, got `flutter_input`.

Copy link
Member

@srawlins srawlins left a comment

Choose a reason for hiding this comment

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

Sweet!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

type 'Null' is not a subtype of type 'List<String>' in type cast
2 participants