mirror of https://github.com/actions/setup-go.git
rename cache paths
This commit is contained in:
parent
b6ceb1ec9f
commit
c711bfc680
|
@ -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…
Reference in New Issue