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 hiroppy committed Aug 28, 2017
1 parent cacce30 commit 7854562
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tools/doc/html.js
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 7854562

Please sign in to comment.