mirror of
https://github.com/actions/toolkit
synced 2025-05-10 17:12:54 +00:00
Added formatting changes
This commit is contained in:
parent
f9d38b0015
commit
cf5d2b8fac
1 changed files with 3 additions and 1 deletions
4
packages/cache/src/internal/downloadUtils.ts
vendored
4
packages/cache/src/internal/downloadUtils.ts
vendored
|
@ -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…
Add table
Add a link
Reference in a new issue