Skip to content

Commit c212a9b

Browse files
committed
make sure all file names are using forward slashes
1 parent d48c971 commit c212a9b

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)