Håvard Anda Estensen
58cb773e09
Replace ioutil with io and os ( #5498 )
2022-04-26 13:07:44 +02:00
Jack Meyer
ce0562c5f2
Add codespace open --web flag ( #5380 )
...
Co-authored-by: Luan Vieira <luanzeba@github.com>
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-04-11 19:09:27 +02:00
Charlie Andrews
64eecef176
Remove unhelpful error wrapper
2022-03-16 09:36:14 -04:00
Charlie Andrews
a2f76fdfe0
Fix copy pasta error to appease the linter
2022-03-16 09:10:54 -04:00
Charlie Andrews
8bf0cb8f13
Refactor the getOrChooseCodespace to always check for pending ops
2022-03-16 08:56:17 -04:00
Charlie Andrews
f94a1a2bd4
Add test for disallowing opening vs code for codespace with pending op
...
I also refactored the existing vs code test a bit to work with the new
use of `getOrChooseCodespace`.
2022-03-15 17:27:38 -04:00
Mark Phelps
590acaa1d6
WIP
2022-02-15 19:35:53 -05:00
Mislav Marohnić
a573eb5d80
Fix codespace code command under WSL ( #4747 )
...
The `codespace code` command used the `skratchdot/open-golang` library
to open `vscode://` URLs, which uses `xdg-open` for Linux under the
hood, which isn't available under WSL.
This switches over to using the `cli/browser` package which has explicit
support for WSL by invoking `wslview` when found.
2021-11-24 16:18:24 +00:00