We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0314274 + 5488f34 commit 6b436f8Copy full SHA for 6b436f8
1 file changed
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