Skip to content

Commit bc250a1

Browse files
targosMylesBorins
authored andcommitted
tools: fix linter error in html.js
PR-URL: #15063 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]>
1 parent feeff48 commit bc250a1

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
@@ -196,11 +196,9 @@ function replaceInText(text) {
196196
}
197197

198198
function altDocs(filename) {
199-
let html = '';
200-
201199
if (!docCreated) {
202200
console.error(`Failed to add alternative version links to ${filename}`);
203-
return html;
201+
return '';
204202
}
205203

206204
function lte(v) {

0 commit comments

Comments
 (0)