mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
ESlint no-plusplus
and no-empty, space-unary-ops
This commit is contained in:
@@ -171,7 +171,7 @@ var meta = require('./meta');
|
||||
|
||||
User.existsBySlug = function (userslug, callback) {
|
||||
User.getUidByUserslug(userslug, function (err, exists) {
|
||||
callback(err, !! exists);
|
||||
callback(err, !!exists);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user