mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-07 08:33:25 +08:00
Linter fixes
This commit is contained in:
11
packages/cache/src/internal/uploadUtils.ts
vendored
11
packages/cache/src/internal/uploadUtils.ts
vendored
@@ -5,13 +5,12 @@ import {
|
||||
BlockBlobClient,
|
||||
BlockBlobParallelUploadOptions
|
||||
} from '@azure/storage-blob'
|
||||
import { InvalidResponseError } from './shared/errors'
|
||||
import {InvalidResponseError} from './shared/errors'
|
||||
|
||||
export async function uploadCacheArchiveSDK
|
||||
(
|
||||
signedUploadURL: string,
|
||||
archivePath: string
|
||||
): Promise<BlobUploadCommonResponse> {
|
||||
export async function uploadCacheArchiveSDK(
|
||||
signedUploadURL: string,
|
||||
archivePath: string
|
||||
): Promise<BlobUploadCommonResponse> {
|
||||
// Specify data transfer options
|
||||
const uploadOptions: BlockBlobParallelUploadOptions = {
|
||||
blockSize: 4 * 1024 * 1024, // 4 MiB max block size
|
||||
|
||||
Reference in New Issue
Block a user