We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
open-in-code
1 parent 0314274 commit 5488f34Copy full SHA for 5488f34
cmd/devcontainer/openincode.go
@@ -33,10 +33,13 @@ func createOpenInCodeInsidersCommand() *cobra.Command {
33
}
34
35
func launchDevContainer(cmd *cobra.Command, appBase string, args []string) error {
36
- if len(args) != 1 {
+ if len(args) > 1 {
37
return cmd.Usage()
38
39
- path := args[0]
+ path := "." // default to current directory
40
+ if len(args) == 1 {
41
+ path = args[0]
42
+ }
43
44
launchURI, err := devcontainers.GetDevContainerURI(path)
45
if err != nil {
0 commit comments