Skip to content

Commit

Permalink
fix(bootstrap): fix windows node_modules path (#2037)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipesilva authored Sep 9, 2016
1 parent 9ddba69 commit c41600a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bootstrap-local.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ require.extensions['.ts'] = function(m, filename) {
// });

// If we're running locally, meaning npm linked. This is basically "developer mode".
if (!__dirname.match(/\/node_modules\//)) {
if (!__dirname.match(new RegExp(`\\${path.sep}node_modules\\${path.sep}`))) {
const packages = require('./packages');

// We mock the module loader so that we can fake our packages when running locally.
Expand Down

0 comments on commit c41600a

Please sign in to comment.