mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 17:41:28 +00:00
formatting
This commit is contained in:
committed by
yoff
parent
65dd816de1
commit
ce5f900bfc
@@ -611,9 +611,18 @@ async function run() {
|
||||
);
|
||||
}
|
||||
|
||||
if (await codeql.supportsFeature(ToolsFeature.PythonDefaultIsToNotExtractStdlib)) {
|
||||
if (
|
||||
await codeql.supportsFeature(
|
||||
ToolsFeature.PythonDefaultIsToNotExtractStdlib,
|
||||
)
|
||||
) {
|
||||
// We are in the case where the default has switched to not extracting the stdlib.
|
||||
if (!(await features.getValue(Feature.CodeqlActionPythonDefaultIsToNotExtractStdlib, codeql))) {
|
||||
if (
|
||||
!(await features.getValue(
|
||||
Feature.CodeqlActionPythonDefaultIsToNotExtractStdlib,
|
||||
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");
|
||||
|
||||
Reference in New Issue
Block a user