mirror of
https://github.com/actions/setup-go
synced 2024-12-22 22:32:42 +00:00
Fix path replace
Signed-off-by: Anton Troshin <anton@diagrid.io>
This commit is contained in:
parent
97e00a50c1
commit
434fb17078
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue