Skip to content

Commit b8a5d6d

Browse files
tniessenMylesBorins
authored andcommitted
tools: remove useless function declaration
Backport-PR-URL: #17788 PR-URL: #17125 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 4f6dd96 commit b8a5d6d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tools/doc/preprocess.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@ var includeData = {};
1010

1111
function preprocess(inputFile, input, cb) {
1212
input = stripComments(input);
13-
processIncludes(inputFile, input, function(err, data) {
14-
if (err) return cb(err);
15-
16-
cb(null, data);
17-
});
13+
processIncludes(inputFile, input, cb);
1814
}
1915

2016
function stripComments(input) {

0 commit comments

Comments
 (0)