Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tools/doc/json.js')
-rw-r--r--tools/doc/json.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/doc/json.js b/tools/doc/json.js
index 94241d9903e..66e07b3512b 100644
--- a/tools/doc/json.js
+++ b/tools/doc/json.js
@@ -508,8 +508,7 @@ function textJoin(nodes, file) {
return `_${textJoin(node.children, file)}_`;
} else if (node.children) {
return textJoin(node.children, file);
- } else {
- return node.value;
}
+ return node.value;
}).join('');
}