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.
1 parent 2dc6afc commit c0f4bf0Copy full SHA for c0f4bf0
cmd/configure.go
@@ -2,6 +2,7 @@ package cmd
2
3
import (
4
"fmt"
5
+ "path"
6
"text/tabwriter"
7
8
"github.com/exercism/cli/config"
@@ -34,7 +35,7 @@ You can also override certain default settings to suit your preferences.
34
35
return err
36
}
37
if usrCfg.Workspace == "" {
- fmt.Println(usrCfg.Home + BinaryName)
38
+ usrCfg.Workspace = path.Join(usrCfg.Home, path.Base(BinaryName))
39
40
41
apiCfg := config.NewEmptyAPIConfig()
0 commit comments