Updated error type to generic to show warning
This commit is contained in:
Vendored
+3
-2
@@ -160,8 +160,9 @@ export async function saveCache(
|
|||||||
|
|
||||||
|
|
||||||
if(cachePaths.length === 0){
|
if(cachePaths.length === 0){
|
||||||
throw new ValidationError(
|
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