Fixing path separator issue
This commit is contained in:
1 parent
b5050d119f
commit
39493642f7
1 file changed
+1
-1
@@ -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 : '.';
|
||||
|
||||
|
||||
Reference in new issue
Block a user