mirror of
https://github.com/actions/setup-go.git
synced 2026-02-13 17:04:45 +08:00
@@ -240,7 +240,7 @@ async function cacheWindowsDir(
|
||||
} else {
|
||||
core.info(`Directory ${cachePath.actualPath} already exists`);
|
||||
// make sure the link is pointing to the actual cache directory
|
||||
let symlinkTarget = fs.readlinkSync(cachePath.defaultPath);
|
||||
const symlinkTarget = fs.readlinkSync(cachePath.defaultPath);
|
||||
if (symlinkTarget !== "") {
|
||||
core.info(`Found link ${cachePath.defaultPath} => ${symlinkTarget}`);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user