New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning via CLI (Windows, Git Bash) #15
Comments
This should happen (but also shouldn't...) when redirecting output, as It looks like this is because Git Bash doesn't actually create a Windows console, so I don't think there's any way to fix this (other than using CMD/PowerShell/WSL, or possibly detecting Git Bash/Cygwin/others specifically). I have just thought of a way to maybe stop it detecting a script when redirecting output: I used |
I'll give it a go this evening if you don't beat me to it. |
Closing this as it's not really an issue with nxapi, but feel free to create a pull request to detect Git Bash specifically as a terminal (see the linked commit below for where this is checked). For detecting a terminal while redirecting output: 3395861 changes the
|
Figured I'd mention in case others run into this and load your history w/
unidentified-script
requests...if not just me (I started the issue before realizing it's only Git Bash). Will have to look into a possible solution later... For now, I'll just use PowerShell or Command Prompt.nxapi/src/cli.ts
Lines 57 to 58 in fe725f9
❌ Git Bash:
✔️ PowerShell:
✔️ Command Prompt:
The text was updated successfully, but these errors were encountered: