mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
Pass tests
This commit is contained in:
@@ -262,11 +262,11 @@ module.exports.testSocket = function (socketPath, callback) {
|
||||
var file = require('./file');
|
||||
async.series([
|
||||
function (next) {
|
||||
file.exists(socketPath, function (exists) {
|
||||
file.exists(socketPath, function (err, exists) {
|
||||
if (exists) {
|
||||
next();
|
||||
} else {
|
||||
callback();
|
||||
callback(err);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user