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

Commit

Permalink
fixing chalk and console usage for consistency reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
lirantal committed Jul 24, 2015
1 parent e3405d2 commit 411765b
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 411765b

Please sign in to comment.