mirror of
https://github.com/spf13/cobra
synced 2024-11-25 07:07:15 +00:00
4f42e96b84
This commit fixes issue #276. If $GOPATH includes multiple paths (as allowed by the spec), Cobra cannot guess the project path, so now init bails out if a relative path is given. The original behaviour is not changed, if $GOPATH only contains a single path (as in most cases). |
||
---|---|---|
.. | ||
add.go | ||
helpers.go | ||
helpers_test.go | ||
init.go | ||
licenses.go | ||
root.go |