Skip to content

Fix issue to support building with local plugins #1519

@hgaol

Description

@hgaol

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:

  1. 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

Image

Platform

  • Device: [e.g. Desktop, Mobile]
  • OS: [e.g. macOS]
  • Browser and version: [e.g. Chrome, Safari]
  • Version: [e.g. v1.2.0]

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions