configloader code styling
authorDarren <darren@darrenwhitlen.com>
Tue, 25 Nov 2014 07:14:43 +0000 (07:14 +0000)
committerDarren <darren@darrenwhitlen.com>
Tue, 25 Nov 2014 07:14:43 +0000 (07:14 +0000)
server/helpers/configloader.js

index 7ae9daf82d160896682fcd893cd12d64056e4087..7d673f7e32f4527cf2616a7e2484dd1d45dd526a 100644 (file)
@@ -1,6 +1,7 @@
 module.exports = function () {
-    var config = require('../configuration.js');
-    var conf_switch = process.argv.indexOf('-c');
+    var config = require('../configuration.js'),
+        conf_switch = process.argv.indexOf('-c');
+
     if (conf_switch !== -1) {
         if (process.argv[conf_switch + 1]) {
             return config.loadConfig(process.argv[conf_switch + 1]);
@@ -8,4 +9,4 @@ module.exports = function () {
     }
 
     return config.loadConfig();
-}
+};