Describe the bug
When using answer build, relative local paths were passed through directly, but go mod edit -replace runs in a temp build dir, so relative paths could resolve incorrectly.
To Reproduce
Steps to reproduce the behavior:
- run
answer build with local plugins, while the replace statement in go.mod is relative paths.
Expected behavior
works as well for local plugins for answer build cmd.
Screenshot
Platform
- Device: [e.g. Desktop, Mobile]
- OS: [e.g. macOS]
- Browser and version: [e.g. Chrome, Safari]
- Version: [e.g. v1.2.0]
Describe the bug
When using
answer build, relative local paths were passed through directly, but go mod edit -replace runs in a temp build dir, so relative paths could resolve incorrectly.To Reproduce
Steps to reproduce the behavior:
answer buildwith local plugins, while thereplacestatement ingo.modis relative paths.Expected behavior
works as well for local plugins for
answer buildcmd.Screenshot
Platform