File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -51,22 +51,19 @@ check_for_updates() {
5151 local current=" $1 "
5252 local latest=" $2 "
5353
54- print_info " devtools installed: $current "
55-
5654 if [[ " $current " != " $latest " && " $latest " != " unknown" ]]; then
5755 # Auto-update in CI/non-interactive mode, prompt in interactive mode
5856 if [[ " ${CI:- false} " == " true" ]] || [[ ! -t 0 ]]; then
59- print_info " Auto-updating to $latest (non-interactive mode) "
57+ print_info " Auto-updating devtools to $latest "
6058 update_to_version " $latest "
6159 else
60+ print_info " devtools installed: $current "
6261 read -p " Update available: $latest . Update? [y/N] " -n 1 -r
6362 printf " \n"
6463 if [[ $REPLY =~ ^[Yy]$ ]]; then
6564 update_to_version " $latest "
6665 fi
6766 fi
68- else
69- print_success " Already at latest version"
7067 fi
7168}
7269
You can’t perform that action at this time.
0 commit comments