Commit c112faf
authored
Remove check for interactive mode in labs installer (#3709)
## Changes
If this condition evaluates to true, it returns `(nil, nil)` and leads
to a panic further along in the code. The check for an interactive
terminal is done earlier than necessary and can be removed altogether.
The `askWorkspaceProfile` function also checks for an interactive
terminal and returns an error if there isn't one.
We mark Git Bash as a terminal where prompting is not supported (see
#1069).
Fixes #3597.
## Tests
Manually confirmed the installer no longer panics in Git Bash on
Windows.1 parent 8313404 commit c112faf
1 file changed
+0
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | 171 | | |
176 | 172 | | |
177 | 173 | | |
| |||
0 commit comments