Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
missing semis
  • Loading branch information
esatterwhite committed Dec 30, 2016
1 parent 3c0d040 commit ce9885f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/server/api/validators/timer.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ function typeOf(obj) {
}

module.exports = function(data = {}, cb) {
debugger;
if( isNaN(data.timeout) || data.timeout < 1 ) {
const err = new TypeError('timeout is required and must be a positive number')
err.statusCode = 400
Expand All @@ -18,7 +17,7 @@ module.exports = function(data = {}, cb) {
switch(type){
case 'String':
case 'Object':
return setImmediate(cb, null, data)
return setImmediate(cb, null, data);
default:
const err = new TypeError('data is required and must be a string or object');
err.statusCode = 400;
Expand Down

0 comments on commit ce9885f

Please sign in to comment.