Fix name of Python stdlib extraction feature flag
This commit is contained in:
parent
c4700633cb
commit
d591d172c8
9 changed files with 43 additions and 19 deletions
7
lib/feature-flags.test.js
generated
7
lib/feature-flags.test.js
generated
|
|
@ -318,6 +318,13 @@ for (const feature of Object.keys(feature_flags_1.featureConfig)) {
|
|||
}
|
||||
}
|
||||
});
|
||||
(0, ava_1.default)("non-legacy feature flags should not start with codeql_action_", async (t) => {
|
||||
for (const [feature, config] of Object.entries(feature_flags_1.featureConfig)) {
|
||||
if (!config.legacyApi) {
|
||||
t.false(feature.startsWith("codeql_action_"), `non-legacy feature ${feature} should not start with 'codeql_action_'`);
|
||||
}
|
||||
}
|
||||
});
|
||||
function assertAllFeaturesUndefinedInApi(t, loggedMessages) {
|
||||
for (const feature of Object.keys(feature_flags_1.featureConfig)) {
|
||||
t.assert(loggedMessages.find((v) => v.type === "debug" &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue