mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 09:14:58 +00:00
Fix values used in log message
This commit is contained in:
2
lib/entry-points.js
generated
2
lib/entry-points.js
generated
@@ -163658,7 +163658,7 @@ async function getDownloadUrl(action) {
|
||||
let platform2 = getBundlePlatform(action.platform, action.arch);
|
||||
if (platform2 === void 0) {
|
||||
action.logger.warning(
|
||||
`Unsupported platform ${process.platform} on architecture ${process.arch}, defaulting to ${"linux64" /* Linux64 */}`
|
||||
`Unsupported platform ${action.platform} on architecture ${action.arch}, defaulting to ${"linux64" /* Linux64 */}`
|
||||
);
|
||||
platform2 = "linux64" /* Linux64 */;
|
||||
}
|
||||
|
||||
@@ -426,7 +426,7 @@ export async function getDownloadUrl(
|
||||
let platform = getBundlePlatform(action.platform, action.arch);
|
||||
if (platform === undefined) {
|
||||
action.logger.warning(
|
||||
`Unsupported platform ${process.platform} on architecture ${process.arch}, defaulting to ${BundlePlatform.Linux64}`,
|
||||
`Unsupported platform ${action.platform} on architecture ${action.arch}, defaulting to ${BundlePlatform.Linux64}`,
|
||||
);
|
||||
platform = BundlePlatform.Linux64;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user