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

Add line numbers to JSDOC_ERRORs #120

Open
gitjeff05 opened this issue Apr 2, 2017 · 4 comments
Open

Add line numbers to JSDOC_ERRORs #120

gitjeff05 opened this issue Apr 2, 2017 · 4 comments
Labels

Comments

@gitjeff05
Copy link

Any time I get an error generating the markdown, it's usually something like this:

$ jsdoc2md file.js > file.md
JSDOC_ERROR: ERROR: Unable to parse file.js: Unexpected token {

Is there a way to produce a more verbose output? Line numbers would really help out a lot.

@gitjeff05 gitjeff05 changed the title Ambiguous error Add line numbers to JSDOC_ERRORs Apr 2, 2017
@75lb
Copy link
Member

75lb commented Apr 2, 2017

Unfortunately, that's as much information as we receive from the underlying jsdoc app. If jsdoc returned the full error stack jsdoc2md would print it.

Follow the upstream issue here.

@75lb 75lb added the upstream label Apr 17, 2017
@reconbot
Copy link

reconbot commented Jul 5, 2017

The upstream issue has landed. They now return line numbers.

@75lb
Copy link
Member

75lb commented Jul 5, 2017

true, the fix has landed on master.. Once @hegemonic has finished the new release (3.5.0) i'll pull it into jsdoc2md.

@Elyx0
Copy link

Elyx0 commented Jun 19, 2018

Bump

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

No branches or pull requests

4 participants