Improve comment/log message wording

This commit is contained in:
Michael B. Gale
2026-10-30 10:52:53 +00:00
parent 3da973862d
commit d37c3131f4
5 changed files with 17 additions and 17 deletions

6
lib/entry-points.js generated
View File

@@ -193928,7 +193928,7 @@ function handleUnsupportedVersion(logger2, config, tracedLanguages, skipUnsuppor
const baseMessage = [
`Traced analysis is not supported on ${product} ${UNSUPPORTED_DARWIN_FOR_TRACED} or above.`,
`Configure your analysis to run on macOS ${UNSUPPORTED_DARWIN_FOR_TRACED - 1} or below`,
`and XCode ${UNSUPPORTED_XCODE_FOR_TRACED - 1} or below.`
`and Xcode ${UNSUPPORTED_XCODE_FOR_TRACED - 1} or below.`
].join(" ");
const attributeName = product === "macOS" ? "darwinVersion" : "xcodeVersion";
for (const language of tracedLanguages) {
@@ -194015,7 +194015,7 @@ async function checkRunnerSupportsTracedAnalysis(action, config, codeql) {
);
if (typeof version === "string") {
action.logger.warning(
`Unable to determine version of macOS, got: ${version}`
`Unable to parse Darwin kernel version, got: ${version}. Skipping macOS compatibility check.`
);
} else if (version.major >= UNSUPPORTED_DARWIN_FOR_TRACED) {
handleUnsupportedVersion(
@@ -194040,7 +194040,7 @@ async function checkRunnerSupportsTracedAnalysis(action, config, codeql) {
);
} else if (xcodeVer === void 0) {
action.logger.info(
"Unable to determine Xcode version. Assuming it is not installed."
"Unable to determine Xcode version. Skipping Xcode compatibility check."
);
}
}