mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-21 10:39:05 +08:00
Formatting changes
This commit is contained in:
parent
9aecf41d21
commit
b9fefecf57
5
packages/cache/src/cache.ts
vendored
5
packages/cache/src/cache.ts
vendored
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user