File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -444,8 +444,14 @@ async function run() {
444
444
// before that, you needed to set this flag to enable this behavior (supported since
445
445
// 2.13.1). Since dependency installation is no longer supported in the action, we
446
446
447
- if ( await codeQlVersionAbove ( codeql , "2.16.0" ) ) {
448
- // do nothing
447
+ if ( await codeQlVersionAbove ( codeql , "2.17.1" ) ) {
448
+ // disabled by default, no warning
449
+ } else if ( await codeQlVersionAbove ( codeql , "2.16.0" ) ) {
450
+ // disabled by default, prints warning if environment variable is not set
451
+ core . exportVariable (
452
+ "CODEQL_EXTRACTOR_PYTHON_DISABLE_LIBRARY_EXTRACTION" ,
453
+ "true" ,
454
+ ) ;
449
455
} else if ( await codeQlVersionAbove ( codeql , "2.13.1" ) ) {
450
456
core . exportVariable (
451
457
"CODEQL_EXTRACTOR_PYTHON_DISABLE_LIBRARY_EXTRACTION" ,
You can’t perform that action at this time.
0 commit comments