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

Fixes #846 Use import path instead of .#864

Merged
ramya-rao-a merged 3 commits intomicrosoft:masterfrom
ramya-rao-a:symlink
Mar 16, 2017
Merged

Fixes #846 Use import path instead of .#864
ramya-rao-a merged 3 commits intomicrosoft:masterfrom
ramya-rao-a:symlink

Conversation

@ramya-rao-a
Copy link
Copy Markdown
Contributor

@ramya-rao-a ramya-rao-a commented Mar 15, 2017

Turns out . is resolved differently when a go command is run from the command line vs from a new process in case of symlinks.

Which is why go build . works in the command line but not in VS Code for projects in symlinked folders

In this PR we use the import path instead of . to prevent any resolution to be attempted by the Go tool

@roblourens roblourens self-assigned this Mar 16, 2017
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.

3 participants