Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions libexec/goenv-exec
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,6 @@ fi

GOROOT="$GOENV_ROOT/versions/$GOENV_VERSION"

# if the specified Go version lacks this bin, bail
if [ ! -x "$GOROOT/bin/$1" ]; then
echo "goenv: \`$1' does not exist for $GOENV_VERSION" >&2

for version in "$(goenv versions)"; do
if [ -x "$GOENV_ROOT/versions/$version/bin/$1" ]; then
echo " $version" >&2
fi
done

exit 1
fi

export GOENV_VERSION GOROOT

# Put our bindir onto PATH
Expand Down