mirror of https://github.com/actions/toolkit
Added formatting changes
parent
f9d38b0015
commit
cf5d2b8fac
|
@ -250,7 +250,9 @@ export async function downloadCacheStorageSDK(
|
|||
try {
|
||||
downloadProgress.startDisplayTimer()
|
||||
const segmentTimeoutInMs =
|
||||
options.segmentTimeoutInMs === undefined ? 3600000 : options.segmentTimeoutInMs
|
||||
options.segmentTimeoutInMs === undefined
|
||||
? 3600000
|
||||
: options.segmentTimeoutInMs
|
||||
const abortSignal = AbortController.timeout(segmentTimeoutInMs)
|
||||
abortSignal.addEventListener('abort', () => {
|
||||
core.warning('Cache download aborted, segment download timed out.')
|
||||
|
|
Loading…
Reference in New Issue