Only echo command if we are streaming the stdout

This commit is contained in:
Henry Mercer 2024-10-10 19:02:07 +01:00
parent 90c42c41ec
commit edd7713837
6 changed files with 12 additions and 8 deletions

View file

@ -557,9 +557,9 @@ export const downloadCodeQL = async function (
);
logger.info(
`Added CodeQL bundle to the tool cache (${
performance.now() - toolcacheStart
} ms).`,
`Added CodeQL bundle to the tool cache (${Math.round(
performance.now() - toolcacheStart,
)} ms).`,
);
// Defensive check: we expect `cacheDir` to copy the bundle to a new location.