Skip to content

Commit 37dd2ad

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

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)