From c212a9b90c957d5b79fc1397fa6f7a96120678bc Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Fri, 20 Apr 2018 13:40:41 -0400 Subject: [PATCH] make sure all file names are using forward slashes --- lib/core/file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/file.js b/lib/core/file.js index eca136b13..62cd859ee 100644 --- a/lib/core/file.js +++ b/lib/core/file.js @@ -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;