mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
don't silently fall through in a switch statement
this fixes a JSHint error that cannot be suppressed.
This commit is contained in:
parent
356ac2a6c4
commit
43a1c9ea8b
@ -75,6 +75,8 @@ exports.load = function(path) {
|
||||
case 'js':
|
||||
case 'json':
|
||||
conf[name] = JSON.parse(content);
|
||||
// don't add this as a tutorial
|
||||
return;
|
||||
|
||||
// how can it be? check `finder' regexp
|
||||
default:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user