From 9645acc2ffa222c2ee9640ed957226723f16e74f Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Mon, 12 Oct 2026 22:54:47 +0100 Subject: [PATCH] Revert `config === undefined` condition --- lib/entry-points.js | 2 +- src/init-action-post.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/entry-points.js b/lib/entry-points.js index 8424aef54..373cdedc0 100644 --- a/lib/entry-points.js +++ b/lib/entry-points.js @@ -187165,7 +187165,7 @@ async function run4(action) { getTemporaryDirectory(), logger2 ); - if (config?.codeQLCmd === void 0) { + if (config === void 0) { logger2.warning( "Debugging artifacts are unavailable since the 'init' Action failed before it could produce any." ); diff --git a/src/init-action-post.ts b/src/init-action-post.ts index dd981c200..689cfd465 100644 --- a/src/init-action-post.ts +++ b/src/init-action-post.ts @@ -90,7 +90,7 @@ async function run(action: ActionState<["Base", "Logger", "Env"]>) { logger, ); - if (config?.codeQLCmd === undefined) { + if (config === undefined) { logger.warning( "Debugging artifacts are unavailable since the 'init' Action failed before it could produce any.", );