From 5f97eb6abaaeaf3ddb0ecd602f1d081724f00663 Mon Sep 17 00:00:00 2001 From: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com> Date: Mon, 23 May 2022 05:59:56 +0000 Subject: [PATCH] Formatting changes --- src/cache.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/cache.ts b/src/cache.ts index 473e5eb..ac4c1b2 100644 --- a/src/cache.ts +++ b/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()