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 #806 from pgrodrigues/master
Browse files Browse the repository at this point in the history
fix some typos
  • Loading branch information
lirantal committed Aug 15, 2015
2 parents 114706e + 8fc9b50 commit 1f0f1b7
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 1f0f1b7

Please sign in to comment.