jborean93 / vscode-ansibug

VSCode Extension for Debugging Ansible Playbooks
MIT License
4 stars 0 forks source link

Fix up Python interpreter selection logic #6

Closed jborean93 closed 5 months ago

jborean93 commented 5 months ago

Updated the interpreter logic to check if python3 exists in the PATH before falling back to just python. This should work on more distros that don't supply a python binary anymore and just python3.

Also improves the interpreterPath logic to use the provided path exactly as is for the command.

Fixes: https://github.com/jborean93/vscode-ansibug/issues/3