Skip to content

Commit 194f55e

Browse files
committed
Improve install and download output layouts
1 parent c9b3f88 commit 194f55e

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
- Expand CI test coverage across Linux distros
2424
- Add automated release process
2525
- Ensure smoke tests use local scripts for bootstrap URLs
26+
- Improve install and download output layouts
2627

2728
## 0.10.0 - 2023-06-10
2829

bin/g

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -936,6 +936,7 @@ install_version() {
936936
set_version "$version"
937937

938938
log_info "installed" "$(go version)"
939+
echo
939940
}
940941

941942
#
@@ -946,7 +947,6 @@ download_version() {
946947
version=$(resolve_version_argument "$1")
947948
dir="$GO_VERSIONS_DIR/$version"
948949

949-
echo
950950
log_info "selected" "$version"
951951

952952
# The unquoted expansion here is intentional: get_target returns two fields.
@@ -1203,7 +1203,10 @@ else
12031203
# shellcheck disable=SC2086
12041204
case $__cmd in
12051205
install | use) install_version $__cmd_args ;;
1206-
download | fetch) download_version $__cmd_args ;;
1206+
download | fetch)
1207+
download_version $__cmd_args
1208+
echo
1209+
;;
12071210
set) set_version $__cmd_args ;;
12081211
run | exec) run_with_version $__cmd_args ;;
12091212
remove | rm | uninstall) remove_versions $__cmd_args ;;

0 commit comments

Comments
 (0)