Skip to content

Commit c8247a7

Browse files
tniessenMylesBorins
authored andcommitted
tools: remove useless function declaration
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 34bfbfe commit c8247a7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

‎tools/doc/preprocess.js‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@ const includeData ={};
1010

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

2016
functionstripComments(input){

0 commit comments

Comments
(0)