diff --git a/configuration/demo_config.go b/configuration/demo_config.go index 9c06e3a15..a782f4c0a 100644 --- a/configuration/demo_config.go +++ b/configuration/demo_config.go @@ -1,8 +1,8 @@ package configuration import ( - "fmt" "os" + "path/filepath" ) func Demo() (c Config, err error) { @@ -23,6 +23,6 @@ func demoDirectory() (dir string, err error) { if err != nil { return } - dir = fmt.Sprintf("%s/exercism-demo", dir) + dir = filepath.Join(dir, "exercism-demo") return }