Skip to content

Commit 0414a8c

Browse files
vsemozhetbytMylesBorins
authored andcommitted
tools: fix logic nit in tools/doc/generate.js
PR-URL: #19475 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 5960cde commit 0414a8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/doc/generate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ function next(er, input) {
6565
switch (format) {
6666
case 'json':
6767
require('./json.js')(input, filename, (er, obj) => {
68-
console.log(JSON.stringify(obj, null, 2));
6968
if (er) throw er;
69+
console.log(JSON.stringify(obj, null, 2));
7070
});
7171
break;
7272

0 commit comments

Comments
 (0)