mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 22:15:48 +01:00
fix test
This commit is contained in:
@@ -58,7 +58,7 @@ SocketAdmin.reload = function (socket, data, callback) {
|
|||||||
});
|
});
|
||||||
meta.restart();
|
meta.restart();
|
||||||
callback();
|
callback();
|
||||||
}
|
};
|
||||||
|
|
||||||
SocketAdmin.restart = function (socket, data, callback) {
|
SocketAdmin.restart = function (socket, data, callback) {
|
||||||
// Rebuild assets and reload NodeBB
|
// Rebuild assets and reload NodeBB
|
||||||
@@ -68,7 +68,7 @@ SocketAdmin.restart = function (socket, data, callback) {
|
|||||||
stdio: 'pipe'
|
stdio: 'pipe'
|
||||||
});
|
});
|
||||||
|
|
||||||
build_worker.on('exit', function() {
|
build_worker.on('exit', function () {
|
||||||
events.log({
|
events.log({
|
||||||
type: 'build',
|
type: 'build',
|
||||||
uid: socket.uid,
|
uid: socket.uid,
|
||||||
|
|||||||
Reference in New Issue
Block a user