You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
ansible-lint --version
WARNING: PATH altered to expand ~in it. Read https://stackoverflow.com/a/44704799/99834 and correct your system configuration.
ansible-lint 24.6.1 using ansible-core:2.17.1 ansible-compat:24.6.1 ruamel-yaml:0.18.6 ruamel-yaml-clib:0.2.8
The text was updated successfully, but these errors were encountered:
@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
The text was updated successfully, but these errors were encountered: