coc-pyright 1.1.251 → 1.1.252
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -21292,7 +21292,7 @@ var _PythonSettings = class {
|
|
|
21292
21292
|
resolvePythonFromVENV() {
|
|
21293
21293
|
function pythonBinFromPath(p) {
|
|
21294
21294
|
const fullPath = process.platform === "win32" ? import_path.default.join(p, "Scripts", "python.exe") : import_path.default.join(p, "bin", "python");
|
|
21295
|
-
return import_fs_extra.default.existsSync(fullPath) ?
|
|
21295
|
+
return import_fs_extra.default.existsSync(fullPath) ? fullPath : void 0;
|
|
21296
21296
|
}
|
|
21297
21297
|
try {
|
|
21298
21298
|
if (process.env.VIRTUAL_ENV && import_fs_extra.default.existsSync(import_path.default.join(process.env.VIRTUAL_ENV, "pyvenv.cfg"))) {
|