mirror of
https://github.com/github/codeql-action.git
synced 2026-05-08 14:50:21 +00:00
Report undefined when FFs are unavailable
This commit is contained in:
Generated
+6
-3
@@ -89159,9 +89159,12 @@ async function createStatusReportBase(actionName, status, actionStartedAt, confi
|
||||
core11.exportVariable("CODEQL_ACTION_TESTING_ENVIRONMENT" /* TESTING_ENVIRONMENT */, testingEnvironment);
|
||||
}
|
||||
const isSteadyStateDefaultSetupRun = process.env["CODE_SCANNING_IS_STEADY_STATE_DEFAULT_SETUP"] === "true";
|
||||
const featureFlags = Object.entries(
|
||||
queriedFeatures || {}
|
||||
).map(([feature, outcome]) => ({ feature, ...outcome }));
|
||||
let featureFlags = void 0;
|
||||
if (queriedFeatures) {
|
||||
featureFlags = Object.entries(queriedFeatures).map(
|
||||
([feature, outcome]) => ({ feature, ...outcome })
|
||||
);
|
||||
}
|
||||
const statusReport = {
|
||||
action_name: actionName,
|
||||
action_oid: "unknown",
|
||||
|
||||
Reference in New Issue
Block a user