1
0
Fork 0

Added formatting changes

pull/1140/head
Sankalp Kotewar 2022-08-08 04:56:02 +00:00
parent f9d38b0015
commit cf5d2b8fac
1 changed files with 3 additions and 1 deletions

View File

@ -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.')