Skip to content

Node.js based forum software built for the modern web

fix test

barisusakli5d4903f6439c
diff --git a/src/socket.io/admin.js b/src/socket.io/admin.js
index 7e9568f960..c3220ed094 100644
--- a/src/socket.io/admin.js
+++ b/src/socket.io/admin.js
@@ -58,7 +58,7 @@ SocketAdmin.reload = function (socket, data, callback) {
});
meta.restart();
callback();
-}
+};
SocketAdmin.restart = function (socket, data, callback) {
// Rebuild assets and reload NodeBB
@@ -68,7 +68,7 @@ SocketAdmin.restart = function (socket, data, callback) {
stdio: 'pipe'
});
- build_worker.on('exit', function() {
+ build_worker.on('exit', function () {
events.log({
type: 'build',
uid: socket.uid,