Skip to content

Commit a13f4b8

Browse files
committed
prettier
1 parent bc36e6c commit a13f4b8

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

src/analyze.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,14 @@ async function setupPythonExtractor(
105105
}
106106

107107
if (
108-
await features.getValue(
108+
(await features.getValue(
109109
Feature.DisablePythonDependencyInstallationEnabled,
110110
codeql,
111-
) ||
112-
await features.getValue(
111+
)) ||
112+
(await features.getValue(
113113
Feature.PythonDefaultIsToSkipDependencyInstallationEnabled,
114114
codeql,
115-
)
115+
))
116116
) {
117117
logger.warning(
118118
"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." +

src/init-action.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -294,14 +294,14 @@ async function run() {
294294
getRequiredInput("setup-python-dependencies") === "true"
295295
) {
296296
if (
297-
await features.getValue(
297+
(await features.getValue(
298298
Feature.DisablePythonDependencyInstallationEnabled,
299299
codeql,
300-
) ||
301-
await features.getValue(
300+
)) ||
301+
(await features.getValue(
302302
Feature.PythonDefaultIsToSkipDependencyInstallationEnabled,
303303
codeql,
304-
)
304+
))
305305
) {
306306
logger.info("Skipping python dependency installation");
307307
} else {
@@ -451,14 +451,14 @@ async function run() {
451451

452452
// Disable Python dependency extraction if feature flag set
453453
if (
454-
await features.getValue(
454+
(await features.getValue(
455455
Feature.DisablePythonDependencyInstallationEnabled,
456456
codeql,
457-
) ||
458-
await features.getValue(
457+
)) ||
458+
(await features.getValue(
459459
Feature.PythonDefaultIsToSkipDependencyInstallationEnabled,
460460
codeql,
461-
)
461+
))
462462
) {
463463
core.exportVariable(
464464
"CODEQL_EXTRACTOR_PYTHON_DISABLE_LIBRARY_EXTRACTION",

0 commit comments

Comments
 (0)