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

Check for exact error message from jsdoc #3

Closed
wants to merge 1 commit into from

Conversation

janvennemann
Copy link

One of my JSDoc comments contained the string ... no input files ... which was matched by the simple string comparison and thus wrongly detected as an error. Checking with the exact error message should fix this for similar cases.

@onury
Copy link
Owner

onury commented Aug 24, 2017

This fix will still confuse the parser. What if a JSDoc comment contains the exact same sentence.. Anyway, fixed this by testing stdout for valid JSON output, instead. Available in v2.0.0

@onury onury closed this Aug 24, 2017
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.

None yet

2 participants