From 411765bb26ff240e51f7c797a33c5b48862279fb Mon Sep 17 00:00:00 2001 From: Liran Tal Date: Sat, 25 Jul 2015 01:57:17 +0300 Subject: [PATCH] fixing chalk and console usage for consistency reasons --- config/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.js b/config/config.js index 973c502de9..6a0dacdaed 100644 --- a/config/config.js +++ b/config/config.js @@ -79,8 +79,8 @@ var validateSecureMode = function(config) { var certificate = fs.existsSync('./config/sslcerts/cert.pem'); if (!privateKey || !certificate) { - chalk.red(console.log('+ Error: Certificate file or key file is missing, falling back to non-SSL mode')); - chalk.red(console.log(' To create them, simply run the following from your shell: sh ./scripts/generate-ssl-certs.sh')); + console.log(chalk.red('+ Error: Certificate file or key file is missing, falling back to non-SSL mode')); + console.log(chalk.red(' To create them, simply run the following from your shell: sh ./scripts/generate-ssl-certs.sh')); console.log(); config.secure = false; }