Skip to content

Commit cc64156

Browse files
committed
Improve python warning message
The last dot in `=3.11.` is just slightly confusing, so added single quotes around the environment variable assignments to make it 100% clear
1 parent c237da1 commit cc64156

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/analyze.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ async function setupPythonExtractor(
9696
) {
9797
logger.warning(
9898
"Library extraction is disabled now. Please remove your logic that sets the CODEQL_PYTHON environment variable." +
99-
"\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."
99+
"\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;
102102
}

0 commit comments

Comments
 (0)