mirror of
https://github.com/actions/setup-go.git
synced 2025-08-15 05:05:07 +00:00
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.`);
|
||||
}
|
||||
|
||||
return notEmptyPaths;
|
||||
return cachePaths ;
|
||||
};
|
||||
|
||||
export function isGhes(): boolean {
|
||||
|
Loading…
x
Reference in New Issue
Block a user