mirror of
https://github.com/actions/setup-go.git
synced 2025-06-28 07:53:43 +00:00
rename cache paths
This commit is contained in:
parent
b6ceb1ec9f
commit
c711bfc680
1 changed files with 3 additions and 3 deletions
|
@ -40,13 +40,13 @@ export const getCacheDirectoryPath = async (
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
const notEmptyPaths = pathList.filter(item => item);
|
const cachePaths = pathList.filter(item => item);
|
||||||
|
|
||||||
if (!notEmptyPaths.length) {
|
if (!cachePaths.length) {
|
||||||
throw new Error(`Could not get cache folder paths.`);
|
throw new Error(`Could not get cache folder paths.`);
|
||||||
}
|
}
|
||||||
|
|
||||||
return notEmptyPaths;
|
return cachePaths ;
|
||||||
};
|
};
|
||||||
|
|
||||||
export function isGhes(): boolean {
|
export function isGhes(): boolean {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue