tools: fix linter error in html.js

PR-URL: https://github.com/nodejs/node/pull/15063
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
This commit is contained in:
Michaël Zasso authored and Yuta Hiroto committed 2017-08-29 01:04:20 +09:00
1 parent cacce304cb
commit 7854562143
1 file changed
+1 -3
+1 -3
View File
@@ -196,11 +196,9 @@ function replaceInText(text) {
}
function altDocs(filename) {
let html = '';
if (!docCreated) {
console.error(`Failed to add alternative version links to ${filename}`);
return html;
return '';
}
function lte(v) {