properly skip non-build flags for 'go list'
If the flags list included ["-o" "binary"], we would properly skip "-o", but we wouldn't skip "binary". Thus, 'go list' would receive "binary" as the first argument, and assume that's the first parameter and the end of the flags. And add a unit test case. Fixes #82, again.pull/92/head
parent
870cde9a0a
commit
98113d0124
Loading…
Reference in New Issue