Skip to content

Commit

Permalink
support windows path
Browse files Browse the repository at this point in the history
  • Loading branch information
ramybenaroya committed Jul 19, 2016
1 parent d5ced9e commit dc4a51a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module.exports = {
appPath = 'app';
}

if (new RegExp('^' + rootPath).test(appPath)){
if (new RegExp('^' + rootPath).test(appPath) || appPath.indexOf(appPath) === 0){
contentFilePath = path.join(appPath, content.file);
} else {
contentFilePath = path.join(rootPath, appPath, content.file);
Expand Down

0 comments on commit dc4a51a

Please sign in to comment.