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

Could not find an option named "options", when upgrading to 1.7.0 #12

Closed
peterfortuin opened this issue Aug 28, 2022 · 0 comments
Closed

Comments

@peterfortuin
Copy link
Contributor

peterfortuin commented Aug 28, 2022

When I upgraded from version 1.6.1 to version 1.7.0 I got the following error:

Screenshot 2022-08-28 at 07 08 46

Apparently when the analysis_options.yaml file exists in the repo it will automatically add this with the --options flag. But the dart analyze command doesn't support that. I think the configuration option can be removed.

As a workaround I have added the analysis-options-file configuration with a file that doesn't exist to my Github Action workflow, so that it will not include the --options flag in the command.

peterfortuin added a commit to peterfortuin/github-actions-analyze-dart that referenced this issue Aug 28, 2022
peterfortuin added a commit to peterfortuin/github-actions-analyze-dart that referenced this issue Aug 28, 2022
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

No branches or pull requests

1 participant