Skip to content

Commit

Permalink
fix: InstallSignalHandlers prior to Verifier.Verify (pactffi_verify)
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Jul 3, 2024
1 parent 070604c commit 7fe738e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/native/verifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ func (v *Verifier) Verify(args []string) error {
log.Println("[DEBUG] executing verifier FFI with args", args)
cargs := C.CString(strings.Join(args, "\n"))
defer free(cargs)

InstallSignalHandlers()
result := C.pactffi_verify(cargs)

/// | Error | Description |
Expand Down

0 comments on commit 7fe738e

Please sign in to comment.