Skip to content

Commit a5fb9be

Browse files
authored
Merge pull request #374 from embark-framework/bug_fix/node-modules-import-windows
make sure all file names are using forward slashes
2 parents d48c971 + c212a9b commit a5fb9be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/core/file.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const utils = require('../utils/utils');
77
class File {
88

99
constructor (options) {
10-
this.filename = options.filename;
10+
this.filename = options.filename.replace(/\\/g, '/');
1111
this.type = options.type;
1212
this.path = options.path;
1313
this.basedir = options.basedir;

0 commit comments

Comments
 (0)