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:
parent
cacce304cb
commit
7854562143
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user