mirror of
https://github.com/github/codeql-action.git
synced 2026-10-30 01:27:22 +00:00
Fix getEnv not using getOptionalEnvVarFrom
This commit is contained in:
@@ -570,7 +570,7 @@ export function initializeEnvironment(version: string) {
|
||||
export function getEnv(env: NodeJS.ProcessEnv = process.env): Env {
|
||||
return {
|
||||
getRequired: (name) => getRequiredEnvVar(env, name),
|
||||
getOptional: (name) => getOptionalEnvVar(name),
|
||||
getOptional: (name) => getOptionalEnvVarFrom(env, name),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user