Formatting changes

This commit is contained in:
Sankalp Kotewar authored and GitHub committed 2022-05-23 05:59:56 +00:00
1 parent fc1ac62569
commit 5f97eb6aba
1 file changed
+2 -3
+2 -3
View File
@@ -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()