Skip to content

Commit 9a76a6c

Browse files
tniessengibfahn
authored andcommitted
tools: remove useless function declaration
PR-URL: #17125 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent df39389 commit 9a76a6c

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 @@ const 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)