Merge branch 'master' into 107

This commit is contained in:
Viktor Alenkov 2024-07-28 18:26:37 +03:00 committed by GitHub
commit 47250352c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View File

@ -44,8 +44,8 @@ install_default_go_pkgs() {
echo -ne "\nInstalling \033[33m${name}\033[39m go pkg... " >&2
# if using go > 1.16 then use go install as the preferred donwload path
if [ "$go_major_version" -ge 2 ] || [ "${go_minor_version//[!0-9]*}" -ge 16 ]; then
if [[ "$name" != *"@"* ]]; then
if [ "$go_major_version" -ge 2 ] || [ "${go_minor_version//[!0-9]*/}" -ge 16 ]; then
if [[ $name != *"@"* ]]; then
name="${name}@latest"
fi

View File

@ -8,4 +8,3 @@ function asdf_update_golang_env --on-event fish_prompt
set -gx GOBIN (dirname "$GOROOT")/packages/bin
end
end