Skip to content

Commit

Permalink
fix(workflow-settings): fixed a bug where regex would not work proper…
Browse files Browse the repository at this point in the history
…ly on windows
  • Loading branch information
availity-bot committed Apr 2, 2019
1 parent c606343 commit f6aa0f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/workflow-settings/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const settings = {
// Allow developers to add their own node_modules include path
const userInclude = this.configuration.development.babelInclude;
const includes = ['@av', ...userInclude].join('|');
const regex = new RegExp(`node_modules[\\/](?=(${includes})).*`);
const regex = new RegExp(`node_modules[\\\\\/](?=(${includes})).*`);
return [this.app(), regex];
},

Expand Down

0 comments on commit f6aa0f2

Please sign in to comment.