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 <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>
  • Loading branch information
tniessen authored and gibfahn committed Dec 19, 2017
1 parent 5aff3d2 commit 13b97e7
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 13b97e7

Please sign in to comment.