diff --git a/src/cache.ts b/src/cache.ts index e5b5f6a..473e5eb 100644 --- a/src/cache.ts +++ b/src/cache.ts @@ -160,8 +160,9 @@ export async function saveCache( if(cachePaths.length === 0){ - throw new ValidationError( - `Path Validation Error: Path(s) specified in the action do not exist, hence no cache is being saved.`) + 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()