From bd2067bc7b95951513e443349a7050b38c77423c Mon Sep 17 00:00:00 2001 From: Matt Fellows Date: Sat, 31 Mar 2018 15:23:33 +1100 Subject: [PATCH] fix(verification): fix verifier CLI invocation with multiple pacts. Fixes #75 --- types/verify_request.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/types/verify_request.go b/types/verify_request.go index 5d53af572..5978676fb 100644 --- a/types/verify_request.go +++ b/types/verify_request.go @@ -3,7 +3,6 @@ package types import ( "fmt" "log" - "strings" ) // VerifyRequest contains the verification params. @@ -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") }