diff --git a/src/init-action.ts b/src/init-action.ts index 625d5cfd89..9a7c13893f 100644 --- a/src/init-action.ts +++ b/src/init-action.ts @@ -606,9 +606,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");