Skip to content

Commit

Permalink
Fix for JSLint failiure
Browse files Browse the repository at this point in the history
Change Max Statement to 17
And fix for code Style
  • Loading branch information
BarryCarlyon authored and desmondmorris committed Dec 11, 2016
1 parent eb51190 commit 882eed1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = {
'curly': 2,
'eqeqeq': 2,
'max-depth': 2,
'max-statements': [2, 16],
'max-statements': [2, 17],
'new-cap': 2,
'no-caller': 2,
'no-cond-assign': 2,
Expand Down
3 changes: 2 additions & 1 deletion lib/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ Parser.prototype.receive = function receive(buffer) {
error.source = json;
this.emit('error', error);
}
} else {
}
else {
// Keep Alive
this.emit('ping');
}
Expand Down

0 comments on commit 882eed1

Please sign in to comment.