Skip to content

Commit

Permalink
fix(verification): fix verifier CLI invocation with multiple pacts. F…
Browse files Browse the repository at this point in the history
…ixes #75
  • Loading branch information
mefellows committed Mar 31, 2018
1 parent 6216f7d commit bd2067b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions types/verify_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package types
import (
"fmt"
"log"
"strings"
)

// VerifyRequest contains the verification params.
Expand Down Expand Up @@ -61,7 +60,7 @@ func (v *VerifyRequest) Validate() error {
v.Args = []string{}

if len(v.PactURLs) != 0 {
v.Args = append(v.Args, strings.Join(v.PactURLs, " "))
v.Args = append(v.Args, v.PactURLs...)
} else {
return fmt.Errorf("Pact URLs is mandatory")
}
Expand Down

0 comments on commit bd2067b

Please sign in to comment.