More renaming
This commit is contained in:
parent
6c869f8b03
commit
701cea34ba
45 changed files with 356 additions and 358 deletions
|
|
@ -157,7 +157,7 @@ async function run() {
|
|||
getRequiredEnvParam("GITHUB_REPOSITORY")
|
||||
);
|
||||
|
||||
const featureFlags = new Features(
|
||||
const features = new Features(
|
||||
gitHubVersion,
|
||||
apiDetails,
|
||||
repositoryNwo,
|
||||
|
|
@ -185,7 +185,7 @@ async function run() {
|
|||
apiDetails,
|
||||
getTemporaryDirectory(),
|
||||
gitHubVersion.type,
|
||||
featureFlags,
|
||||
features,
|
||||
logger
|
||||
);
|
||||
codeql = initCodeQLResult.codeql;
|
||||
|
|
@ -199,7 +199,7 @@ async function run() {
|
|||
getOptionalInput("registries"),
|
||||
getOptionalInput("config-file"),
|
||||
getOptionalInput("db-location"),
|
||||
await getTrapCachingEnabled(featureFlags),
|
||||
await getTrapCachingEnabled(features),
|
||||
// Debug mode is enabled if:
|
||||
// - The `init` Action is passed `debug: true`.
|
||||
// - Actions step debugging is enabled (e.g. by [enabling debug logging for a rerun](https://docs.github.com/en/actions/managing-workflow-runs/re-running-workflows-and-jobs#re-running-all-the-jobs-in-a-workflow),
|
||||
|
|
@ -213,7 +213,7 @@ async function run() {
|
|||
getRequiredEnvParam("GITHUB_WORKSPACE"),
|
||||
gitHubVersion,
|
||||
apiDetails,
|
||||
featureFlags,
|
||||
features,
|
||||
logger
|
||||
);
|
||||
|
||||
|
|
@ -276,7 +276,7 @@ async function run() {
|
|||
sourceRoot,
|
||||
"Runner.Worker.exe",
|
||||
undefined,
|
||||
featureFlags,
|
||||
features,
|
||||
logger
|
||||
);
|
||||
if (tracerConfig !== undefined) {
|
||||
|
|
@ -318,13 +318,13 @@ async function run() {
|
|||
}
|
||||
|
||||
async function getTrapCachingEnabled(
|
||||
featureFlags: FeatureEnablement
|
||||
featureEnablement: FeatureEnablement
|
||||
): Promise<boolean> {
|
||||
const trapCaching = getOptionalInput("trap-caching");
|
||||
if (trapCaching !== undefined) {
|
||||
return trapCaching === "true";
|
||||
}
|
||||
return await featureFlags.getValue(Feature.TrapCachingEnabled);
|
||||
return await featureEnablement.getValue(Feature.TrapCachingEnabled);
|
||||
}
|
||||
|
||||
async function runWrapper() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue