Improve downloading log message (#1920)

Previously, a trailing `.` character was recognized as part of the URL in GitHub Actions log output. We add an additional space before it to distinguish.
This commit is contained in:
hoshino tsuyoshi 2023-10-06 06:21:52 +09:00 committed by GitHub
parent 27235304e0
commit 3f7850a179
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

2
lib/setup-codeql.js generated
View file

@ -418,7 +418,7 @@ async function downloadCodeQL(codeqlURL, maybeBundleVersion, maybeCliVersion, ap
else {
logger.debug("Downloading CodeQL tools without an authorization token.");
}
logger.info(`Downloading CodeQL tools from ${codeqlURL}. This may take a while.`);
logger.info(`Downloading CodeQL tools from ${codeqlURL} . This may take a while.`);
const dest = path.join(tempDir, (0, uuid_1.v4)());
const finalHeaders = Object.assign({ "User-Agent": "CodeQL Action" }, headers);
const toolsDownloadStart = perf_hooks_1.performance.now();

File diff suppressed because one or more lines are too long

View file

@ -553,7 +553,7 @@ export async function downloadCodeQL(
logger.debug("Downloading CodeQL tools without an authorization token.");
}
logger.info(
`Downloading CodeQL tools from ${codeqlURL}. This may take a while.`,
`Downloading CodeQL tools from ${codeqlURL} . This may take a while.`,
);
const dest = path.join(tempDir, uuidV4());