diff --git a/packages/cache/src/cache.ts b/packages/cache/src/cache.ts index 473e5eb2..ac4c1b23 100644 --- a/packages/cache/src/cache.ts +++ b/packages/cache/src/cache.ts @@ -158,11 +158,10 @@ export async function saveCache( core.debug('Cache Paths:') core.debug(`${JSON.stringify(cachePaths)}`) - - if(cachePaths.length === 0){ + if (cachePaths.length === 0) { throw new Error( `Path Validation Error: Path(s) specified in the action do not exist, hence no cache is being saved.` - ) + ) } const archiveFolder = await utils.createTempDirectory()