From bcbf2af07ff4a8a1498423c28c0e8becbcb01575 Mon Sep 17 00:00:00 2001 From: darksniper87 Date: Mon, 5 May 2014 11:21:31 +0300 Subject: [PATCH] Update init.js Just fixing some grammatical errors --- config/init.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config/init.js b/config/init.js index 9a2ae984e9..74e142187a 100644 --- a/config/init.js +++ b/config/init.js @@ -10,7 +10,7 @@ var glob = require('glob'); */ module.exports = function() { /** - * Before we begin, lets set the envrionment variable + * Before we begin, lets set the environment variable * We'll Look for a valid NODE_ENV variable and if one cannot be found load the development NODE_ENV */ glob('./config/env/' + process.env.NODE_ENV + '.js', { @@ -19,14 +19,14 @@ module.exports = function() { console.log(); if (!environmentFiles.length) { if(process.env.NODE_ENV) { - console.log('\x1b[31m', 'No configuration file found for "' + process.env.NODE_ENV + '" envrionment using develpoment instead'); + console.log('\x1b[31m', 'No configuration file found for "' + process.env.NODE_ENV + '" environment using development instead'); } else { - console.log('\x1b[31m', 'NODE_ENV is not defined! Using default develpoment envrionment'); + console.log('\x1b[31m', 'NODE_ENV is not defined! Using default development environment'); } process.env.NODE_ENV = 'development'; } else { - console.log('\x1b[7m', 'Application loaded using the "' + process.env.NODE_ENV + '" envrionment configuration'); + console.log('\x1b[7m', 'Application loaded using the "' + process.env.NODE_ENV + '" environment configuration'); } console.log('\x1b[0m'); }); @@ -37,4 +37,4 @@ module.exports = function() { require.extensions['.server.controller.js'] = require.extensions['.js']; require.extensions['.server.model.js'] = require.extensions['.js']; require.extensions['.server.routes.js'] = require.extensions['.js']; -}; \ No newline at end of file +};