Fix linter error

This commit is contained in:
Michael B. Gale 2023-10-04 11:43:14 +01:00
parent 74b46628c3
commit a402be8739
No known key found for this signature in database
GPG key ID: FF5E2765BD00628F
2 changed files with 4 additions and 2 deletions

File diff suppressed because one or more lines are too long

View file

@ -245,7 +245,9 @@ for (const feature of Object.keys(featureConfig)) {
// feature should be enabled when a new CLI version is set
// and env var is not set
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));
// set env var to false and check that the feature is now disabled