Added formatting changes

This commit is contained in:
Sankalp Kotewar committed 2022-08-08 04:56:02 +00:00
1 parent 47dad3f676
commit 5e28be1229
1 file changed
+3 -1
+3 -1
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.')