Skip to content

Commit

Permalink
Fix eslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewda committed Aug 14, 2016
1 parent e3ea488 commit 97e73a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
"no-throw-literal": "error",
"no-trailing-spaces": "error",
"no-undef-init": "error",
"no-undefined": "error",
"no-undefined": "off",
"no-underscore-dangle": "off",
"no-unmodified-loop-condition": "error",
"no-unneeded-ternary": "error",
Expand Down
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ Livescore.prototype._onLog = function(logs) {
logs = JSON.parse(logs).log.reverse();

self.emit('log', logs);
} catch (e) {
} catch (err) {
logs = undefined;

self.emit('debug', e);
self.emit('debug', err);
}

self.getPlayers(function(players) {
Expand Down

0 comments on commit 97e73a7

Please sign in to comment.