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 2017-08-28 16:57:33 +02:00 committed by Yuta Hiroto
parent cacce304cb
commit 7854562143
No known key found for this signature in database
GPG Key ID: E03998F3E2B165C2

View File

@ -196,11 +196,9 @@ function replaceInText(text) {
} }
function altDocs(filename) { function altDocs(filename) {
let html = '';
if (!docCreated) { if (!docCreated) {
console.error(`Failed to add alternative version links to ${filename}`); console.error(`Failed to add alternative version links to ${filename}`);
return html; return '';
} }
function lte(v) { function lte(v) {