protolambda / gocyto

Callgraph analysis and visualization for Go
MIT License
162 stars 20 forks source link

Fix empty buildflags #1

Closed burkostya closed 4 years ago

burkostya commented 4 years ago

When using CLI If no build flags were passed then underlying command for listing packages will contain empty argument - like go list "-e" "-json" "-compiled=true" "-test=false" "-export=true" "-deps=true" "-find=false" "" "--" "some/pkg/..." - note third from the end argument.

This PR excludes passing down empty build argument