Skip to content

Commit

Permalink
fix: uninstall command without using gcloud (#16)
Browse files Browse the repository at this point in the history
* fix: gcloud unavailable during uninstall

* fix: actually remove installed version

* fix: improve wording in uninstall hints
  • Loading branch information
jthegedus committed Mar 7, 2020
1 parent 29619a7 commit 71180e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/uninstall
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ set -euo pipefail

# Google Cloud SDK uninstall instructions - https://cloud.google.com/sdk/docs/uninstall-cloud-sdk

gcloud_config_path=$(gcloud info --format='value(config.paths.global_config_dir)')
printf "ℹ️ Your gcloud project configuration(s) persist in you gcloud configuration directory. Usually ~/.config/gcloud\\n"

printf "ℹ️ Your gcloud project configuration(s) persist in %s\\n" "${gcloud_config_path}"
rm -rf "$ASDF_INSTALL_PATH"

0 comments on commit 71180e0

Please sign in to comment.