mirror of https://github.com/actions/toolkit
Formatting changes
parent
9aecf41d21
commit
b9fefecf57
|
@ -158,7 +158,6 @@ 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.`
|
||||||
|
|
Loading…
Reference in New Issue