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:
Iuri Matias 2018-04-20 14:52:04 -04:00 committed by GitHub
commit a5fb9befed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;