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.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. 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) ? import_fs_extra.default.realpathSync(fullPath) : void 0;
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"))) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coc-pyright",
3
- "version": "1.1.251",
3
+ "version": "1.1.252",
4
4
  "description": "Pyright extension for coc.nvim, static type checker for Python",
5
5
  "author": "Heyward Fann <fannheyward@gmail.com>",
6
6
  "license": "MIT",