1
0
Fork 0

Lint fixes

pull/1857/head
Bassem Dghaidi 2024-11-14 04:47:27 -08:00 committed by GitHub
parent ea4bf4810a
commit 5e9ef8532f
3 changed files with 7 additions and 5 deletions

View File

@ -524,9 +524,7 @@ async function saveCachev2(
const finalizeResponse: FinalizeCacheEntryUploadResponse = const finalizeResponse: FinalizeCacheEntryUploadResponse =
await twirpClient.FinalizeCacheEntryUpload(finalizeRequest) await twirpClient.FinalizeCacheEntryUpload(finalizeRequest)
core.debug( core.debug(`FinalizeCacheEntryUploadResponse: ${finalizeResponse.ok}`)
`FinalizeCacheEntryUploadResponse: ${finalizeResponse.ok}`
)
if (!finalizeResponse.ok) { if (!finalizeResponse.ok) {
throw new Error( throw new Error(

View File

@ -17,7 +17,9 @@ export async function DownloadCacheFile(
const blobClient: BlobClient = new BlobClient(signedUploadURL) const blobClient: BlobClient = new BlobClient(signedUploadURL)
const blockBlobClient: BlockBlobClient = blobClient.getBlockBlobClient() const blockBlobClient: BlockBlobClient = blobClient.getBlockBlobClient()
core.debug(`BlobClient: ${blobClient.name}:${blobClient.accountName}:${blobClient.containerName}`) core.debug(
`BlobClient: ${blobClient.name}:${blobClient.accountName}:${blobClient.containerName}`
)
return blockBlobClient.downloadToFile( return blockBlobClient.downloadToFile(
archivePath, archivePath,

View File

@ -19,7 +19,9 @@ export async function UploadCacheFile(
const blobClient: BlobClient = new BlobClient(signedUploadURL) const blobClient: BlobClient = new BlobClient(signedUploadURL)
const blockBlobClient: BlockBlobClient = blobClient.getBlockBlobClient() const blockBlobClient: BlockBlobClient = blobClient.getBlockBlobClient()
core.debug(`BlobClient: ${blobClient.name}:${blobClient.accountName}:${blobClient.containerName}`) core.debug(
`BlobClient: ${blobClient.name}:${blobClient.accountName}:${blobClient.containerName}`
)
return blockBlobClient.uploadFile(archivePath, uploadOptions) return blockBlobClient.uploadFile(archivePath, uploadOptions)
} }