Skip to content

Commit

Permalink
Removed unnecessary return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
leo committed Mar 25, 2017
1 parent 7732f65 commit de652f8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ exports.run = (req, res, fn) =>
// Return a undefined-null value -> send
if (undefined !== val) {
send(res, res.statusCode || 200, val)
return
}
})
.catch(err => sendError(req, res, err))
Expand Down

0 comments on commit de652f8

Please sign in to comment.