This commit is contained in:
Rasmus Wriedt Larsen 2023-12-13 12:25:34 +01:00
parent bc36e6cfae
commit a13f4b8aed
No known key found for this signature in database
2 changed files with 12 additions and 12 deletions

View file

@ -105,14 +105,14 @@ async function setupPythonExtractor(
}
if (
await features.getValue(
(await features.getValue(
Feature.DisablePythonDependencyInstallationEnabled,
codeql,
) ||
await features.getValue(
)) ||
(await features.getValue(
Feature.PythonDefaultIsToSkipDependencyInstallationEnabled,
codeql,
)
))
) {
logger.warning(
"We recommend that you remove the CODEQL_PYTHON environment variable from your workflow. This environment variable was originally used to specify a Python executable that included the dependencies of your Python code, however Python analysis no longer uses these dependencies." +

View file

@ -294,14 +294,14 @@ async function run() {
getRequiredInput("setup-python-dependencies") === "true"
) {
if (
await features.getValue(
(await features.getValue(
Feature.DisablePythonDependencyInstallationEnabled,
codeql,
) ||
await features.getValue(
)) ||
(await features.getValue(
Feature.PythonDefaultIsToSkipDependencyInstallationEnabled,
codeql,
)
))
) {
logger.info("Skipping python dependency installation");
} else {
@ -451,14 +451,14 @@ async function run() {
// Disable Python dependency extraction if feature flag set
if (
await features.getValue(
(await features.getValue(
Feature.DisablePythonDependencyInstallationEnabled,
codeql,
) ||
await features.getValue(
)) ||
(await features.getValue(
Feature.PythonDefaultIsToSkipDependencyInstallationEnabled,
codeql,
)
))
) {
core.exportVariable(
"CODEQL_EXTRACTOR_PYTHON_DISABLE_LIBRARY_EXTRACTION",