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: nodejs#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 Chris Young committed Sep 29, 2017
1 parent df440de commit abc4272
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tools/doc/html.js
Expand Up @@ -175,11 +175,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 abc4272

Please sign in to comment.