mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 09:14:58 +00:00
Use getEnv()
This commit is contained in:
2
lib/entry-points.js
generated
2
lib/entry-points.js
generated
@@ -162651,7 +162651,7 @@ async function run7(startedAt) {
|
||||
try {
|
||||
const action = {
|
||||
logger,
|
||||
env: new Env(process.env),
|
||||
env: getEnv(),
|
||||
actions: getActionsEnv()
|
||||
};
|
||||
getJobUUID(action);
|
||||
|
||||
@@ -6,7 +6,6 @@ import * as core from "@actions/core";
|
||||
import { ActionState } from "./action-common";
|
||||
import * as actionsUtil from "./actions-util";
|
||||
import { getGitHubVersion } from "./api-client";
|
||||
import { Env } from "./environment";
|
||||
import { FeatureEnablement, initFeatures } from "./feature-flags";
|
||||
import { BuiltInLanguage, parseBuiltInLanguage } from "./languages";
|
||||
import { getActionsLogger, Logger } from "./logging";
|
||||
@@ -43,7 +42,7 @@ async function run(startedAt: Date) {
|
||||
try {
|
||||
const action: ActionState<["Logger", "Env", "Actions"]> = {
|
||||
logger,
|
||||
env: new Env(process.env),
|
||||
env: util.getEnv(),
|
||||
actions: actionsUtil.getActionsEnv(),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user