Skip to content

Commit 0433662

Browse files
committed
Revert "more build logs"
This reverts commit 1c2ad3f.
1 parent 1c2ad3f commit 0433662

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

build/azure-pipelines/common/publish.ts

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -139,20 +139,7 @@ async function uploadBlob(blobService: azure.BlobService, quality: string, blobN
139139
}
140140
};
141141

142-
console.log(`Uploading blob: ${blobService.getUrl(quality, blobName)}...`);
143-
144-
let timer: NodeJS.Timer | undefined;
145-
146-
await new Promise((c, e) => {
147-
const summary = blobService.createBlockBlobFromLocalFile(quality, blobName, file, blobOptions, err => err ? e(err) : c());
148-
timer = setInterval(() => console.log(`Done ${summary.getCompletePercent(1)}% with blob: ${blobService.getUrl(quality, blobName)}`), 10000);
149-
});
150-
151-
if (typeof timer !== 'undefined') {
152-
clearInterval(timer);
153-
}
154-
155-
console.log(`Done with blob: ${blobService.getUrl(quality, blobName)}...`);
142+
await new Promise((c, e) => blobService.createBlockBlobFromLocalFile(quality, blobName, file, blobOptions, err => err ? e(err) : c()));
156143
}
157144

158145
interface PublishOptions {

0 commit comments

Comments
 (0)