Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 28ff24f

Browse files
authored
fix "Empty parser result" for apiPrivate tag (#93)
Every parser should return a truthy value in order to escape the check in parser.js throwing a ParserError.
2 parents efabd29 + 99f9bec commit 28ff24f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/parsers/api_private.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
var trim = require('../utils/trim');
2-
31
function parse(content) {
4-
content = trim(content);
5-
6-
return content;
2+
return 'private';
73
}
84

95
/**

0 commit comments

Comments
 (0)