From ce5f900bfc4f4f7d32fd4106942380d167a1e43c Mon Sep 17 00:00:00 2001 From: Rasmus Lerchedahl Petersen Date: Wed, 9 Oct 2024 17:09:14 +0200 Subject: [PATCH] formatting --- src/init-action.ts | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/init-action.ts b/src/init-action.ts index 6300c472e1..ef9f8b8171 100644 --- a/src/init-action.ts +++ b/src/init-action.ts @@ -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");