Skip to content

Commit

Permalink
tools: remove useless function declaration
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
tniessen committed Nov 21, 2017
1 parent f82f5a4 commit e515a0e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tools/doc/preprocess.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ const includeData = {};

function preprocess(inputFile, input, cb) {
input = stripComments(input);
processIncludes(inputFile, input, function(err, data) {
if (err) return cb(err);

cb(null, data);
});
processIncludes(inputFile, input, cb);
}

function stripComments(input) {
Expand Down

0 comments on commit e515a0e

Please sign in to comment.