Fixing path separator issue

This commit is contained in:
Matias committed 2019-07-30 14:43:47 -03:00
1 parent b5050d119f
commit 39493642f7
1 file changed
+1 -1
+1 -1
View File
@@ -180,7 +180,7 @@ exports.newFileStorage = function newFileStorage() {
}
function mkDirByPathSync(targetDir, { isRelativeToScript = false } = {}) {
const sep = path.sep;
const sep = '/';
const initDir = path.isAbsolute(targetDir) ? sep : '';
const baseDir = isRelativeToScript ? __dirname : '.';