From c711bfc680f5829e4fe5be81fefbd518b0036b16 Mon Sep 17 00:00:00 2001 From: Evgenii Korolevskii <102794661+e-korolevskii@users.noreply.github.com> Date: Mon, 19 Dec 2022 11:09:41 +0100 Subject: [PATCH] rename cache paths --- src/cache-utils.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cache-utils.ts b/src/cache-utils.ts index f9cc4f7..4394310 100644 --- a/src/cache-utils.ts +++ b/src/cache-utils.ts @@ -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 {