summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2017-10-26 14:28:56 +0200
committerDaniel Bevenius <daniel.bevenius@gmail.com>2017-10-30 07:14:35 +0100
commit6f684d95784ec30baa9d3daa98919f1e1bd47631 (patch)
tree54a7782248b113ded6b003ef5db3587ce86185e5 /tools
parente63782d7896dc840acdef1bc9b475da8ee4bb998 (diff)
downloadandroid-node-v8-6f684d95784ec30baa9d3daa98919f1e1bd47631.tar.gz
android-node-v8-6f684d95784ec30baa9d3daa98919f1e1bd47631.tar.bz2
android-node-v8-6f684d95784ec30baa9d3daa98919f1e1bd47631.zip
build: make doc target quiet
Currently it can be a little difficult to detect errors in the output from the doc target. This commit suggests reducing the output to make it easier to identify errors. PR-URL: https://github.com/nodejs/node/pull/16516 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/doc/generate.js1
-rw-r--r--tools/doc/preprocess.js1
2 files changed, 0 insertions, 2 deletions
diff --git a/tools/doc/generate.js b/tools/doc/generate.js
index 53c9c5b5ee..906aa96219 100644
--- a/tools/doc/generate.js
+++ b/tools/doc/generate.js
@@ -54,7 +54,6 @@ if (!inputFile) {
throw new Error('No input file specified');
}
-console.error('Input file = %s', inputFile);
fs.readFile(inputFile, 'utf8', function(er, input) {
if (er) throw er;
// process the input for @include lines
diff --git a/tools/doc/preprocess.js b/tools/doc/preprocess.js
index 01340d4060..00654baa6c 100644
--- a/tools/doc/preprocess.js
+++ b/tools/doc/preprocess.js
@@ -25,7 +25,6 @@ function processIncludes(inputFile, input, cb) {
const includes = input.match(includeExpr);
if (includes === null) return cb(null, input);
var errState = null;
- console.error(includes);
var incCount = includes.length;
if (incCount === 0) cb(null, input);
includes.forEach(function(include) {