Skip to content
This repository has been archived by the owner on Aug 31, 2018. It is now read-only.

Commit

Permalink
tools: fix linter error in html.js
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#15063
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Yuta Hiroto <[email protected]>
  • Loading branch information
targos authored and Olivia Hugger committed Aug 30, 2017
1 parent fd679fc commit c83c108
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 c83c108

Please sign in to comment.