make sure all file names are using forward slashes

This commit is contained in:
Jonathan Rainville 2018-04-20 13:40:41 -04:00
parent d48c971471
commit c212a9b90c
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;