Formatting changes
This commit is contained in:
1 parent
fc1ac62569
commit
5f97eb6aba
1 file changed
+2
-3
+2
-3
@@ -158,11 +158,10 @@ export async function saveCache(
|
|||||||
core.debug('Cache Paths:')
|
core.debug('Cache Paths:')
|
||||||
core.debug(`${JSON.stringify(cachePaths)}`)
|
core.debug(`${JSON.stringify(cachePaths)}`)
|
||||||
|
|
||||||
|
if (cachePaths.length === 0) {
|
||||||
if(cachePaths.length === 0){
|
|
||||||
throw new Error(
|
throw new Error(
|
||||||
`Path Validation Error: Path(s) specified in the action do not exist, hence no cache is being saved.`
|
`Path Validation Error: Path(s) specified in the action do not exist, hence no cache is being saved.`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
const archiveFolder = await utils.createTempDirectory()
|
const archiveFolder = await utils.createTempDirectory()
|
||||||
|
|||||||
Reference in new issue
Block a user