Fix path replace
Signed-off-by: Anton Troshin <anton@diagrid.io>
This commit is contained in:
parent
97e00a50c1
commit
434fb17078
|
@ -228,7 +228,7 @@ async function cacheWindowsDir(
|
||||||
const actualCacheDirectoryPaths = cacheDirectoryPaths.map(path => {
|
const actualCacheDirectoryPaths = cacheDirectoryPaths.map(path => {
|
||||||
return {
|
return {
|
||||||
defaultPath: path,
|
defaultPath: path,
|
||||||
actualPath: path.replace('D:', 'C:').replace('d:', 'c:')
|
actualPath: path.replace('C:', 'D:').replace('c:', 'd:')
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue