Skip to content

Commit 7cd2203

Browse files
committed
Use env.export in getCodeQLForCmd
1 parent d7e4421 commit 7cd2203

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎lib/entry-points.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/codeql.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { CliError, wrapCliConfigurationError } from "./cli-errors";
1818
import type { ActionConfig } from "./config/action-config";
1919
import { appendExtraQueryExclusions, type Config } from "./config-utils";
2020
import { DocUrl } from "./doc-url";
21-
import { EnvVar, getEnv, exportEnvVar, Env, ReadOnlyEnv } from "./environment";
21+
import { EnvVar, getEnv, Env, ReadOnlyEnv } from "./environment";
2222
import {
2323
CodeQLDefaultVersionInfo,
2424
Feature,
@@ -1076,7 +1076,7 @@ export async function getCodeQLForCmd(
10761076
}' by 'github/codeql-action/*@v${getActionVersion()}' in your code scanning workflow to ` +
10771077
"continue using this version of the CodeQL Action.",
10781078
);
1079-
exportEnvVar(EnvVar.SUPPRESS_DEPRECATED_SOON_WARNING, "true");
1079+
env.export(EnvVar.SUPPRESS_DEPRECATED_SOON_WARNING, "true");
10801080
}
10811081
return codeql;
10821082
}

0 commit comments

Comments
 (0)