diff --git a/lib/server.js b/lib/server.js index c400e871f..d4bd6b452 100644 --- a/lib/server.js +++ b/lib/server.js @@ -201,9 +201,9 @@ var start = function(injector, config, launcher, globalEmitter, preprocess, file }); var removeAllListenersDone = false; - var removeAllListeners = function(){ + var removeAllListeners = function() { // make sure we don't execute cleanup twice - if (removeAllListenersDone){ + if (removeAllListenersDone) { return; } removeAllListenersDone = true;