mirror of
https://github.com/github/codeql-action.git
synced 2025-12-24 08:10:06 +08: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;
|
||||
|
||||
Reference in New Issue
Block a user