mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 09:14:58 +00:00
Fix python string
This commit is contained in:
2
lib/analyze.js
generated
2
lib/analyze.js
generated
@@ -32,7 +32,7 @@ async function setupPythonExtractor(logger) {
|
||||
};
|
||||
await new toolrunnner.ToolRunner(codeqlPython, [
|
||||
"-c",
|
||||
"import·os;·import·pip;·print(os.path.dirname(os.path.dirname(pip.__file__)))",
|
||||
"import os; import pip; print(os.path.dirname(os.path.dirname(pip.__file__)))",
|
||||
], options).exec();
|
||||
logger.info(`Setting LGTM_INDEX_IMPORT_PATH=${output}`);
|
||||
process.env["LGTM_INDEX_IMPORT_PATH"] = output;
|
||||
|
||||
@@ -65,7 +65,7 @@ async function setupPythonExtractor(logger: Logger) {
|
||||
codeqlPython,
|
||||
[
|
||||
"-c",
|
||||
"import·os;·import·pip;·print(os.path.dirname(os.path.dirname(pip.__file__)))",
|
||||
"import os; import pip; print(os.path.dirname(os.path.dirname(pip.__file__)))",
|
||||
],
|
||||
options
|
||||
).exec();
|
||||
|
||||
Reference in New Issue
Block a user