rename cache paths

pull/305/head
Evgenii Korolevskii 2 years ago committed by GitHub
parent b6ceb1ec9f
commit c711bfc680
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save