Fix path replace

Signed-off-by: Anton Troshin <anton@diagrid.io>
pull/515/head
Anton Troshin 2 months ago
parent 97e00a50c1
commit 434fb17078
No known key found for this signature in database
GPG Key ID: 9F8A96ACA9EB6363

@ -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…
Cancel
Save