aboutsummaryrefslogtreecommitdiff
path: root/test/functional/shell/viml_system_spec.lua
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2016-10-08 16:34:54 +0200
committerJustin M. Keyes <justinkz@gmail.com>2016-10-08 16:34:54 +0200
commit31f6334aa8f8093ddfd2fd3ecf9fc438ad62a792 (patch)
treec6b0adcccd676270745f1327af346c57c17aa126 /test/functional/shell/viml_system_spec.lua
parent91d13bd86198c878b0b89d0ae31a8b8b0c8dd327 (diff)
downloadrneovim-31f6334aa8f8093ddfd2fd3ecf9fc438ad62a792.tar.gz
rneovim-31f6334aa8f8093ddfd2fd3ecf9fc438ad62a792.tar.bz2
rneovim-31f6334aa8f8093ddfd2fd3ecf9fc438ad62a792.zip
CheckHealth: choose correct path for the latest version (#5446)
If multiple versions of a package are installed, the provider health check could choose a wrong path: /usr/local/lib/python3.5/site-packages/neovim-0.1.10-py3.5.egg-info/PKG-INFO /usr/local/lib/python3.5/site-packages/neovim-0.1.9-py3.5.egg-info/PKG-INFO Prior to this change :CheckHealth could falsely show 0.1.9 as the installed version, since glob() doesn't enforce any predictable order. Now we sort all potential paths numerically in descending order and just look at the first path instead.
Diffstat (limited to 'test/functional/shell/viml_system_spec.lua')
0 files changed, 0 insertions, 0 deletions