Merge pull request #374 from embark-framework/bug_fix/node-modules-import-windows
make sure all file names are using forward slashes
This commit is contained in:
commit
a5fb9befed
|
@ -7,7 +7,7 @@ const utils = require('../utils/utils');
|
||||||
class File {
|
class File {
|
||||||
|
|
||||||
constructor (options) {
|
constructor (options) {
|
||||||
this.filename = options.filename;
|
this.filename = options.filename.replace(/\\/g, '/');
|
||||||
this.type = options.type;
|
this.type = options.type;
|
||||||
this.path = options.path;
|
this.path = options.path;
|
||||||
this.basedir = options.basedir;
|
this.basedir = options.basedir;
|
||||||
|
|
Loading…
Reference in New Issue