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

Commit

Permalink
Fix #283 glob path issue for Windows
Browse files Browse the repository at this point in the history
This fixes https://groups.google.com/forum/#!msg/meanjs/qOPHzMtWrPY/da9puKbyI5UJ as suggested by Silla Tan - also mentioned in #283 which was closed without a fix.
  • Loading branch information
AndreasHassing committed Dec 23, 2014
1 parent f891660 commit acccc03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ var initGlobalConfigFolders = function(config, assets) {
};

// Setting globbed client paths
config.folders.client = getGlobbedPaths(path.join(process.cwd(), 'modules/*/client/'), process.cwd());
config.folders.client = getGlobbedPaths(path.join(process.cwd(), 'modules/*/client/'), process.cwd().replace(new RegExp(/\\/g),'/'));
};

/**
Expand Down

0 comments on commit acccc03

Please sign in to comment.