Using the following
when x.x does not exist, will cause jsdoc to use its internal conf.json.EXAMPLE config file (jsdoc.js#L174).
Can this situation fail-fast instead, or output a warning? Or is this behaviour by design?
Invalid files fail as expected:
d:\dev\git_repos\jsdoc3-examples>echo a > x.x
d:\dev\git_repos\jsdoc3-examples>jsdoc -r -c x.x js
js: "C:/Users/grimbo/AppData/Roaming/npm/node_modules/jsdoc/jsdoc.js", line 316: exception from uncaught JavaScript throw: Error: Cannot parse the config file x.x: SyntaxError: Unexpected token: a
Thanks.
Using the following
when
x.xdoes not exist, will cause jsdoc to use its internalconf.json.EXAMPLEconfig file (jsdoc.js#L174).Can this situation fail-fast instead, or output a warning? Or is this behaviour by design?
Invalid files fail as expected:
Thanks.