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
2
lib/init-action.js
generated
2
lib/init-action.js
generated
|
|
@ -344,7 +344,7 @@ async function run() {
|
|||
}
|
||||
if (await codeql.supportsFeature(tools_features_1.ToolsFeature.PythonDefaultIsToNotExtractStdlib)) {
|
||||
// We are in the case where the default has switched to not extracting the stdlib.
|
||||
if (!(await features.getValue(feature_flags_1.Feature.CodeqlActionPythonDefaultIsToNotExtractStdlib, codeql))) {
|
||||
if (!(await features.getValue(feature_flags_1.Feature.PythonDefaultIsToNotExtractStdlib, codeql))) {
|
||||
// We are in a situation where the feature flag is not rolled out,
|
||||
// so we need to suppress the new default behavior.
|
||||
core.exportVariable("CODEQL_EXTRACTOR_PYTHON_EXTRACT_STDLIB", "true");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue