Skip to content

Commit 29a90d6

Browse files
committed
No need to guard callback existence.
1 parent bfba8a1 commit 29a90d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sessionmanager.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ SessionManager.prototype.logOut = function(req, options, cb) {
8989
if (options.keepSessionData) {
9090
Object.assign(req.session, prevSession);
9191
}
92-
cb && cb();
92+
cb();
9393
});
9494
});
9595
}

0 commit comments

Comments
 (0)