mirror of https://github.com/actions/toolkit
Fixed linting issues
parent
83becb7900
commit
23cfbb3484
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue