got-reload icon indicating copy to clipboard operation
got-reload copied to clipboard

Rewrite relative paths in go.mod replace directives

Open theclapp opened this issue 3 years ago • 0 comments

We copy the source module to $TMPDIR and then run from there. This breaks replace directives in go.mod with relative paths.

Rewrite them to be absolute paths.

theclapp avatar Feb 21 '22 14:02 theclapp