Merge pull request #119 from AAVikings/master

Fixing path separator issue
This commit is contained in:
benme authored and GitHub committed 2019-07-30 14:44:07 -03:00
commit 08ebf8b8c2
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 : '.';