Hi all, I have an issue re-generating the PegoMock...
# atlantis-contributors
s
Hi all, I have an issue re-generating the PegoMock files since the repo was updated to use PegoMock v4. For example, if I run
go generate server/core/runtime/pre_workflow_hook_runner.go
I get the following error:
Copy code
panic: loading input failed: Did not find interface name "PostWorkflowHookRunner"
If I change the
//go:generate
line in the the file from:
Copy code
//go:generate pegomock generate --package mocks -o mocks/mock_pre_workflows_hook_runner.go PreWorkflowHookRunner
to
Copy code
//go:generate pegomock generate <http://github.com/runatlantis/atlantis/server/core/runtime|github.com/runatlantis/atlantis/server/core/runtime> --package mocks -o mocks/mock_pre_workflows_hook_runner.go PreWorkflowHookRunner
the mock file is generated successfully. Can somebody check to see if they get the same issue on the
main
branch?