mirror of
https://github.com/github/codeql-action.git
synced 2026-11-05 04:29:40 +00:00
Avoid producing the same-ish message twice
This commit is contained in:
1
lib/entry-points.js
generated
1
lib/entry-points.js
generated
@@ -194001,6 +194001,7 @@ async function checkRunnerSupportsTracedAnalysis(action, config, codeql) {
|
||||
"macOS",
|
||||
version
|
||||
);
|
||||
return;
|
||||
}
|
||||
const xcodeVer = xcodeVersion(action.logger);
|
||||
if (xcodeVer !== void 0 && xcodeVer.major >= UNSUPPORTED_XCODE_FOR_TRACED) {
|
||||
|
||||
@@ -156,6 +156,10 @@ export async function checkRunnerSupportsTracedAnalysis(
|
||||
"macOS",
|
||||
version,
|
||||
);
|
||||
|
||||
// Return early so that we don't end up producing more-or-less the same log message/diagnostic
|
||||
// twice. The ones for macOS already comment on the Xcode requirement.
|
||||
return;
|
||||
}
|
||||
|
||||
// Determining whether the Xcode version is supported only makes sense on macOS, so we only do it
|
||||
|
||||
Reference in New Issue
Block a user