Skip to content

Commit

Permalink
tools: fix linter error in html.js
Browse files Browse the repository at this point in the history
PR-URL: #15063
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
  • Loading branch information
targos authored and MylesBorins committed Sep 10, 2017
1 parent 0458b71 commit b293b5a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tools/doc/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b293b5a

Please sign in to comment.