Skip to content

Commit

Permalink
Small formatting update to have consistency with identical logic in o…
Browse files Browse the repository at this point in the history
…ther areas.

  - strongloop#944
  • Loading branch information
greaterweb committed Jan 6, 2015
1 parent 36112d2 commit 9ac620c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/user.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,9 @@ describe('User', function() {
assert(token);

return function(err) {
if (err) return done(err);
if (err) {
return done(err);
}

AccessToken.findById(token, function(err, accessToken) {
assert(!accessToken, 'accessToken should not exist after logging out');
Expand Down

0 comments on commit 9ac620c

Please sign in to comment.