Ensure that tools_download_duration_ms is int (#1513)

This commit is contained in:
Angela P Wen 2023-01-27 01:03:57 -08:00 committed by GitHub
parent b2e16761f3
commit 4664f39699
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 18 additions and 16 deletions

View file

@ -568,7 +568,9 @@ export async function downloadCodeQL(
undefined,
finalHeaders
);
const toolsDownloadDurationMs = performance.now() - toolsDownloadStart;
const toolsDownloadDurationMs = Math.round(
performance.now() - toolsDownloadStart
);
logger.debug(`CodeQL bundle download to ${codeqlPath} complete.`);