Various fixes
parent
8a2500b459
commit
120ae89ca7
|
|
@ -3933,10 +3933,10 @@ class Input {
|
||||||
return Input.cliOptions[query];
|
return Input.cliOptions[query];
|
||||||
}
|
}
|
||||||
if (Input.queryOverrides !== undefined) {
|
if (Input.queryOverrides !== undefined) {
|
||||||
if (Input.queryOverrides[query] !== null) {
|
if (Input.queryOverrides[query] !== undefined) {
|
||||||
return Input.queryOverrides[query];
|
return Input.queryOverrides[query];
|
||||||
}
|
}
|
||||||
if (Input.queryOverrides[Input.ToEnvVarFormat(query)] !== null) {
|
if (Input.queryOverrides[Input.ToEnvVarFormat(query)] !== undefined) {
|
||||||
return Input.queryOverrides[Input.ToEnvVarFormat(query)];
|
return Input.queryOverrides[Input.ToEnvVarFormat(query)];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -12,7 +12,7 @@
|
||||||
"lint": "prettier --check \"src/**/*.{js,ts}\" && eslint src/**/*.ts",
|
"lint": "prettier --check \"src/**/*.{js,ts}\" && eslint src/**/*.ts",
|
||||||
"format": "prettier --write \"src/**/*.{js,ts}\"",
|
"format": "prettier --write \"src/**/*.{js,ts}\"",
|
||||||
"cli": "yarn ts-node src/index.ts -m cli",
|
"cli": "yarn ts-node src/index.ts -m cli",
|
||||||
"gcp-secrets-cli": "cross-env cloudRunnerTests=\"true\" readInputOverrideCommand=\"gcloud secrets versions access 1 --secret=\"{0}\"\" yarn ts-node src/index.ts -m cli --readInputFromOverrideList UNITY_EMAIL,UNITY_SERIAL,UNITY_PASSWORD",
|
"gcp-secrets-cli": "cross-env cloudRunnerTests=true readInputOverrideCommand=\"gcloud secrets versions access 1 --secret=\"{0}\"\" yarn ts-node src/index.ts -m cli --readInputFromOverrideList UNITY_EMAIL,UNITY_SERIAL,UNITY_PASSWORD",
|
||||||
"cli-aws": "cross-env cloudRunnerCluster=aws yarn run test-cli",
|
"cli-aws": "cross-env cloudRunnerCluster=aws yarn run test-cli",
|
||||||
"cli-k8s": "cross-env cloudRunnerCluster=k8s yarn run test-cli",
|
"cli-k8s": "cross-env cloudRunnerCluster=k8s yarn run test-cli",
|
||||||
"test-cli": "cross-env cloudRunnerTests=true yarn ts-node src/index.ts -m cli --projectPath test-project",
|
"test-cli": "cross-env cloudRunnerTests=true yarn ts-node src/index.ts -m cli --projectPath test-project",
|
||||||
|
|
|
||||||
|
|
@ -71,11 +71,11 @@ class Input {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Input.queryOverrides !== undefined) {
|
if (Input.queryOverrides !== undefined) {
|
||||||
if (Input.queryOverrides[query] !== null) {
|
if (Input.queryOverrides[query] !== undefined) {
|
||||||
return Input.queryOverrides[query];
|
return Input.queryOverrides[query];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Input.queryOverrides[Input.ToEnvVarFormat(query)] !== null) {
|
if (Input.queryOverrides[Input.ToEnvVarFormat(query)] !== undefined) {
|
||||||
return Input.queryOverrides[Input.ToEnvVarFormat(query)];
|
return Input.queryOverrides[Input.ToEnvVarFormat(query)];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue