1
0
Fork 0

Fixed linting issues

pull/1140/head
Sankalp Kotewar 2022-08-05 11:43:31 +00:00
parent 83becb7900
commit 23cfbb3484
1 changed files with 2 additions and 2 deletions

View File

@ -253,7 +253,7 @@ export async function downloadCacheStorageSDK(
options.abortTimeInMs === undefined ? 3600000 : options.abortTimeInMs options.abortTimeInMs === undefined ? 3600000 : options.abortTimeInMs
const abortSignal = AbortController.timeout(abortTimeInMs) const abortSignal = AbortController.timeout(abortTimeInMs)
abortSignal.addEventListener('abort', () => { abortSignal.addEventListener('abort', () => {
core.warning("Cache download aborted, segment download timed out.") core.warning('Cache download aborted, segment download timed out.')
}) })
while (!downloadProgress.isDone()) { while (!downloadProgress.isDone()) {
const segmentStart = const segmentStart =
@ -270,7 +270,7 @@ export async function downloadCacheStorageSDK(
segmentStart, segmentStart,
segmentSize, segmentSize,
{ {
abortSignal: abortSignal, abortSignal,
concurrency: options.downloadConcurrency, concurrency: options.downloadConcurrency,
onProgress: downloadProgress.onProgress() onProgress: downloadProgress.onProgress()
} }