Skip to content

Commit

Permalink
fix demoDirectory on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjefford committed May 15, 2014
1 parent bb09447 commit fb281cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configuration/demo_config.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package configuration

import (
"fmt"
"os"
"path/filepath"
)

func Demo() (c Config, err error) {
Expand All @@ -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
}

0 comments on commit fb281cd

Please sign in to comment.