Skip to content

Commit

Permalink
fix(windows): make log/pact output paths os-specific #9
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Feb 20, 2017
1 parent e586b1d commit c84afad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dsl/pact.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ func (p *Pact) Setup() *Pact {
if p.Server == nil {
args := []string{
fmt.Sprintf("--pact-specification-version %d", p.SpecificationVersion),
fmt.Sprintf("--pact-dir %s", p.PactDir),
fmt.Sprintf("--log %s/pact.log", p.LogDir),
fmt.Sprintf("--pact-dir %s", filepath.FromSlash(p.PactDir)),
fmt.Sprintf("--log %s/pact.log", filepath.FromSlash(p.LogDir+"/"+"pact.log")),
fmt.Sprintf("--consumer %s", p.Consumer),
fmt.Sprintf("--provider %s", p.Provider),
}
Expand Down

0 comments on commit c84afad

Please sign in to comment.