Skip to content

Commit abc4272

Browse files
targosChris Young
authored and
Chris Young
committed
tools: fix linter error in html.js
PR-URL: nodejs#15063 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]>
1 parent df440de commit abc4272

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tools/doc/html.js

+1-3
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) {

0 commit comments

Comments
 (0)