This commit is contained in:
Evgenii Korolevskii 2022-12-19 11:11:22 +01:00
parent c711bfc680
commit cabe02707a
3 changed files with 8 additions and 8 deletions

View file

@ -40,13 +40,13 @@ export const getCacheDirectoryPath = async (
)
);
const cachePaths = pathList.filter(item => item);
const cachePaths = pathList.filter(item => item);
if (!cachePaths.length) {
throw new Error(`Could not get cache folder paths.`);
}
return cachePaths ;
return cachePaths;
};
export function isGhes(): boolean {