Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request #703 from lirantal/bugfix/config_chalk_console_log…
Browse files Browse the repository at this point in the history
…_order

fixing chalk and console usage for consistency reasons
  • Loading branch information
lirantal committed Jul 25, 2015
2 parents c8880ea + 411765b commit 7d7d076
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7d7d076

Please sign in to comment.