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

Commit

Permalink
fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrodrigues committed Aug 14, 2015
1 parent 86b16c9 commit 8fc9b50
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var getGlobbedPaths = function (globPatterns, excludes) {
// The output array
var output = [];

// If glob pattern is array so we use each pattern in a recursive way, otherwise we use glob
// If glob pattern is array then we use each pattern in a recursive way, otherwise we use glob
if (_.isArray(globPatterns)) {
globPatterns.forEach(function (globPattern) {
output = _.union(output, getGlobbedPaths(globPattern, excludes));
Expand Down Expand Up @@ -49,7 +49,7 @@ var getGlobbedPaths = function (globPatterns, excludes) {
};

/**
* Validate NODE_ENV existance
* Validate NODE_ENV existence
*/
var validateEnvironmentVariable = function () {
var environmentFiles = glob.sync('./config/env/' + process.env.NODE_ENV + '.js');
Expand Down Expand Up @@ -140,7 +140,7 @@ var initGlobalConfigFiles = function (config, assets) {
* Initialize global configuration
*/
var initGlobalConfig = function () {
// Validate NDOE_ENV existance
// Validate NODE_ENV existence
validateEnvironmentVariable();

// Get the default assets
Expand Down

0 comments on commit 8fc9b50

Please sign in to comment.