mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
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:
1 parent
cacce304cb
commit
7854562143
1 file changed
+1
-3
+1
-3
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user