Open OneCyrus opened 5 months ago
@OneCyrus, the version output is coming from the ansible-lint CLI tool. I wanted to understand whether it is creating any problems in the VS Code extension. If not, please transfer this issue to the ansible-lint repository.
Summary
when using ansible lint on a machine with dotnet installed i get the following error:
cmd 'ansible-lint --version' has the following error/warning: WARNING: PATH altered to expand ~ in it. Read https://stackoverflow.com/a/44704799/99834 and correct your system configuration.
unfortunately dotnet is using "~/.dotnet/tools" in the path variable and that's how it works.
version parsing for ansible lint should ignore warnings. looks like the version parsing could be improved to handle this case.
Extension version
v24.8.1
VS Code version
1.90.2
Ansible Version
OS / Environment
Ubuntu 22.04
Relevant log output