Skip to content

Commit cf58ef4

Browse files
Update wording for CODEQL_PYTHON warning
Co-authored-by: Henry Mercer <[email protected]>
1 parent fce87bb commit cf58ef4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/analyze.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ async function setupPythonExtractor(
9595
await features.getValue(Feature.DisablePythonDependencyInstallation, codeql)
9696
) {
9797
logger.warning(
98-
"Library extraction is disabled now. Please remove your logic that sets the CODEQL_PYTHON environment variable." +
98+
"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." +
9999
"\nIf you used CODEQL_PYTHON to force the version of Python to analyze as, please use CODEQL_EXTRACTOR_PYTHON_ANALYSIS_VERSION instead, such as 'CODEQL_EXTRACTOR_PYTHON_ANALYSIS_VERSION=2.7' or 'CODEQL_EXTRACTOR_PYTHON_ANALYSIS_VERSION=3.11'."
100100
);
101101
return;

0 commit comments

Comments
 (0)