Skip to content

Commit

Permalink
fix: only set failIfNoPactsFound if set by user
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Oct 18, 2022
1 parent 72eeb08 commit 577e49f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/verifier/argumentMapper/arguments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export const ffiFnMapping: FnMapping<
},
pactffiVerifierSetFailIfNoPactsFound: {
validateAndExecute(ffi, handle, options) {
if (options.failIfNoPactsFound) {
if (options.failIfNoPactsFound !== undefined) {
ffi.pactffiVerifierSetFailIfNoPactsFound(
handle,
options.failIfNoPactsFound
Expand Down

0 comments on commit 577e49f

Please sign in to comment.