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

Commit

Permalink
removing un-necessary console.log() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
lirantal committed Oct 24, 2014
1 parent 9b694db commit 1ee5bc1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions config/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ module.exports = function() {
glob('./config/env/' + process.env.NODE_ENV + '.js', {
sync: true
}, function(err, environmentFiles) {
console.log();
if (!environmentFiles.length) {
if (process.env.NODE_ENV) {
console.error(chalk.red('No configuration file found for "' + process.env.NODE_ENV + '" environment using development instead'));
Expand All @@ -29,7 +28,6 @@ module.exports = function() {
} else {
console.log(chalk.black.bgWhite('Application loaded using the "' + process.env.NODE_ENV + '" environment configuration'));
}
console.log('\x1b[0m');
});

/**
Expand Down

0 comments on commit 1ee5bc1

Please sign in to comment.