Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Conversation

@aslakhellesoy
Copy link

Including the PackagePath in the command when it's empty has strange side effects.

In my case my -ldflags "-X main.version=1.2.3" seemed to be ignored. (The version field in my main did not get populated).

This PR fixes the bug.

@aslakhellesoy aslakhellesoy force-pushed the dont-append-package-path-if-empty branch from 50a0ad0 to 4feb530 Compare August 14, 2019 15:08
@aslakhellesoy
Copy link
Author

Hi @mitchellh - any chance of getting this merged? Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant