-
Notifications
You must be signed in to change notification settings - Fork 151
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
Failing on a project JSDoc works fine for #148
Comments
could you post a reproduction case please.. post some failing source code and the command I should run. |
Sorry; the problem seems to be with undocumented code. I was trying to add JSDoc to a project, SteamConfig, last night and after getting the basic JSDoc comments down I started looking at the output and wanted to puke, and tried a couple templates but one was too complicated and another was just completely broken. So, I decided to try a markdown style of the documentation so I can easily manually change some parts and gave this script a shot. Installed it globally with Which I'm guessing is because of the fact I have some undocumented internal functions in the code, but considering there's no line number for where the error occurred or anything else to go on it could actually be the constructor, which is the first "function" and was documented at the time. I have since given up on JSDoc and just wrote some simple markdown documentation manually, but I just tested again and this issue still happens. |
Fixed and released in v4.0.0 👍 |
Just tried this on a project and it's spitting out the following error
JSDOC_ERROR: ERROR: Unable to parse [redacted]: Unexpected token function
So, it seems that when it runs into an undocumented function it just dies =\
The text was updated successfully, but these errors were encountered: