mirror of
https://github.com/github/codeql-action.git
synced 2026-11-09 06:29:52 +00:00
Improve comment/log message wording
This commit is contained in:
6
lib/entry-points.js
generated
6
lib/entry-points.js
generated
@@ -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."
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user