Formatting changes

This commit is contained in:
Sankalp Kotewar 2022-05-23 05:59:56 +00:00 committed by GitHub
parent 9aecf41d21
commit b9fefecf57

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()