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
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.
The text was updated successfully, but these errors were encountered:
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:
oh-my-zsh
update confirmation)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):
v0.28.0
1.80.1
Mac x86
Additional context
None.
The text was updated successfully, but these errors were encountered: