Fix python string

This commit is contained in:
David Verdeguer
2020-09-23 18:06:08 +02:00
parent 147734591c
commit 34955967b7
2 changed files with 2 additions and 2 deletions

2
lib/analyze.js generated
View File

@@ -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;