vendetta icon indicating copy to clipboard operation
vendetta copied to clipboard

Vendetta unable to determine package name with symlinked cwd

Open samv opened this issue 9 years ago • 0 comments

In my case, it's because I make my directory a symlink into the full path in GOROOT

$ go list .
github.com/parsable/beacon
SamV-WI:~/p/beacon<kafka-commit-api>
$ vendetta
Unable to infer project name; specify it explicitly with the '-n' option.
SamV-WI:~/p/beacon<kafka-commit-api>
$ cd `pwd -P`
SamV-WI:~/src/github.com/parsable/beacon<kafka-commit-api>
$ vendetta
Inferred root package name github.com/parsable/beacon from GOPATH element /Users/samv
^C```

samv avatar Nov 04 '16 20:11 samv