Fix linter error
This commit is contained in:
parent
74b46628c3
commit
a402be8739
2 changed files with 4 additions and 2 deletions
File diff suppressed because one or more lines are too long
|
|
@ -245,7 +245,9 @@ for (const feature of Object.keys(featureConfig)) {
|
||||||
// feature should be enabled when a new CLI version is set
|
// feature should be enabled when a new CLI version is set
|
||||||
// and env var is not set
|
// and env var is not set
|
||||||
process.env[featureConfig[feature].envVar] = "";
|
process.env[featureConfig[feature].envVar] = "";
|
||||||
codeql = mockCodeQLVersion(featureConfig[feature].minimumVersion);
|
codeql = mockCodeQLVersion(
|
||||||
|
featureConfig[feature].minimumVersion as string,
|
||||||
|
);
|
||||||
t.assert(await features.getValue(feature as Feature, codeql));
|
t.assert(await features.getValue(feature as Feature, codeql));
|
||||||
|
|
||||||
// set env var to false and check that the feature is now disabled
|
// set env var to false and check that the feature is now disabled
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue