Skip to content

Commit

Permalink
Fix failing build
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewda committed Aug 11, 2016
1 parent e88e9ff commit 46d21f5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,8 @@ Livescore.prototype.start = function(options, callback) {
if (callback) {
callback(null);
}
} else {
if (callback) {
callback(new Error('Not yet connected to HLTV'));
}
} else if (callback) {
callback(new Error('Not yet connected to HLTV'));
}
};

Expand Down

0 comments on commit 46d21f5

Please sign in to comment.