diff --git a/defaults/config.js b/defaults/config.js index f0cca9b6..4906003f 100644 --- a/defaults/config.js +++ b/defaults/config.js @@ -170,13 +170,14 @@ module.exports = { // join: "#foo, #shout-irc" }, + // // Set socket.io transports // // @type array - // @default ['polling', 'websocket'] + // @default ["polling', "websocket"] // - transports: ['polling', 'websocket'] + transports: ["polling", "websocket"], // // Run Shout with HTTPS support. diff --git a/src/command-line/index.js b/src/command-line/index.js index 40ebcdb6..171ed053 100644 --- a/src/command-line/index.js +++ b/src/command-line/index.js @@ -24,8 +24,12 @@ if (program.home) { var config = Helper.HOME + "/config.js"; if (!fs.existsSync(config)) { mkdirp.sync(Helper.HOME); - fs.writeFileSync(config, fs.readFileSync(__dirname + "/../../defaults/config.js")); - console.log("Config created:" + config); + fs.writeFileSync( + config, + fs.readFileSync(__dirname + "/../../defaults/config.js") + ); + console.log("Config created:"); + console.log(config); } program.parse(argv.args);