vscode-sqltools
vscode-sqltools copied to clipboard
Node runtime detection fails when `oh-my-zsh` update is available
Describe the bug Node runtime detection seems to spawn an interactive shell, and if that shell asks a question the detection may fail.
To Reproduce Steps to reproduce the behavior:
- Start VS Code with sqltools installed
- Have the shell ask you a question (for me, it's the
oh-my-zsh
update confirmation) - Notice that the first character of the node version detection is consumed by the question and the command that is actually executed is therefore incorrect (see screenshot)
- Node version detection fails
Expected behavior The node detection is executed from a non-interactive shell so that other programs running in it know not to ask questions.
Screenshots
Desktop (please complete the following information):
- SQLTools Version [e.g. v0.17.x]:
v0.28.0
- VS Code Version: [e.g 1.x.y]:
1.80.1
- OS: [e.g. Windows, Linux, Mac]:
Mac x86
- Driver:
- [ ] PostgreSQL/Redshift
- [ ] MySQL/MariaDB
- [ ] MSSQL/Azure
- [ ] SQLite
- [ ] Other? Which...
- Database version: [e.g. MySQL v5.6, PostgreSQL vX...]
Additional context
None.