Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 13b97e7

Browse filesBrowse 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 5aff3d2 commit 13b97e7
Copy full SHA for 13b97e7

File tree

Expand file treeCollapse file tree

1 file changed

+1
-5
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-5
lines changed
Open diff view settings
Collapse file

‎tools/doc/preprocess.js‎

Copy file name to clipboardExpand all lines: tools/doc/preprocess.js
+1-5Lines changed: 1 addition & 5 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.