Skip to content

Parse error is not returned as a diagnostic message #1141

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

Closed
oribesser opened this issue Feb 17, 2019 · 1 comment
Closed

Parse error is not returned as a diagnostic message #1141

oribesser opened this issue Feb 17, 2019 · 1 comment

Comments

@oribesser
Copy link

Documentation for 1.17.1 states that parser errors are now returned as diagnostic messages, but when I run the following:
Invoke-ScriptAnalyzer -ScriptDefinition '"b" = "b"; function eliminate-file () { }' I get a regular error output and only one diagnostic message for unapproved verb.

@bergmeister
Copy link
Collaborator

bergmeister commented Feb 17, 2019

The documentation for 1.17.1 is in the master branch. GitHub shows the development branch by default, see #977.

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

2 participants