diff --git a/lib/entry-points.js b/lib/entry-points.js index 093dcf159..3a43d4cd5 100644 --- a/lib/entry-points.js +++ b/lib/entry-points.js @@ -194147,7 +194147,7 @@ async function checkRunnerSupportsTracedAnalysis(action, config, codeql) { abortUnsupportedTracedAnalysis, xcodeProduct ); - } else if (xcodeVer === void 0) { + } else if (xcodeProduct === void 0) { action.logger.info( "Unable to determine Xcode version. Skipping Xcode compatibility check." ); diff --git a/src/languages/traced.ts b/src/languages/traced.ts index 12ecd03a3..96eb5da45 100644 --- a/src/languages/traced.ts +++ b/src/languages/traced.ts @@ -244,7 +244,7 @@ export async function checkRunnerSupportsTracedAnalysis( abortUnsupportedTracedAnalysis, xcodeProduct, ); - } else if (xcodeVer === undefined) { + } else if (xcodeProduct === undefined) { action.logger.info( "Unable to determine Xcode version. Skipping Xcode compatibility check.", );