Skip to content

Commit

Permalink
Update src/util.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
aeisenberg committed Sep 27, 2022
1 parent e37b0d6 commit 5cc1af9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/util.test.ts
Expand Up @@ -562,9 +562,8 @@ for (const val of ["TRUE", "true", "True"]) {

for (const val of ["FALSE", "false", "False"]) {
test(`useCodeScanningConfigInCli with env var ${val}`, async (t) => {
process.env[util.EnvVar.CODEQL_PASS_CONFIG_TO_CLI] = val;
// Never turned on when env var is false
process.env[util.EnvVar.CODEQL_PASS_CONFIG_TO_CLI] = "false";
process.env[util.EnvVar.CODEQL_PASS_CONFIG_TO_CLI] = val;
t.assert(
!(await util.useCodeScanningConfigInCli(
mockVersion("2.10.0"),
Expand Down

0 comments on commit 5cc1af9

Please sign in to comment.