mirror of https://github.com/embarklabs/embark.git
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 {
|
||||
|
||||
constructor (options) {
|
||||
this.filename = options.filename;
|
||||
this.filename = options.filename.replace(/\\/g, '/');
|
||||
this.type = options.type;
|
||||
this.path = options.path;
|
||||
this.basedir = options.basedir;
|
||||
|
|
Loading…
Reference in New Issue