Skip to content

Commit

Permalink
Merge pull request #84 from simonjefford/path-fix
Browse files Browse the repository at this point in the history
fix demoDirectory on windows
  • Loading branch information
kytrinyx committed May 15, 2014
2 parents bb09447 + fb281cd commit 9919eb6
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 9919eb6

Please sign in to comment.