Skip to content

Commit 248a90c

Browse files
author
Katrina Owen
committed
Use the binary name to determine the default workspace
This is temporary, to unblock beta testing. To be fixed properly by #541
1 parent b67dd86 commit 248a90c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd/configure.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ You can also override certain default settings to suit your preferences.
3333
if err != nil {
3434
return err
3535
}
36+
if usrCfg.Workspace == "" {
37+
fmt.Println(usrCfg.Home + BinaryName)
38+
}
3639

3740
apiCfg := config.NewEmptyAPIConfig()
3841
err = apiCfg.Load(viperAPIConfig)

0 commit comments

Comments
 (0)