tools: fix linter error in html.js · nodejs/node@37dd2ad

Original file line numberDiff line numberDiff line change

@@ -175,11 +175,9 @@ function replaceInText(text) {

175175

}

176176
177177

function altDocs(filename) {

178-

let html = '';

179-
180178

if (!docCreated) {

181179

console.error(`Failed to add alternative version links to ${filename}`);

182-

return html;

180+

return '';

183181

}

184182
185183

function lte(v) {