File tree Expand file tree Collapse file tree 7 files changed +11
-21
lines changed Expand file tree Collapse file tree 7 files changed +11
-21
lines changed Original file line number Diff line number Diff line change 2828 - name : Setup Go
2929 uses : actions/setup-go@v5
3030 with :
31- go-version : ' 1.23.4 '
31+ go-version : ' 1.24.9 '
3232 - name : Install dependencies
3333 run : go get ./...
3434 - name : Run 'gofumpt'
Original file line number Diff line number Diff line change 4141 github_token : ${{ secrets.GITHUB_TOKEN }}
4242 goos : ${{ matrix.goos }}
4343 goarch : ${{ matrix.goarch }}
44- goversion : " 1.23.4 "
44+ goversion : " 1.24.9 "
4545 binary_name : " asdf"
4646 project_path : ./cmd/asdf
4747 release_tag : ${{ github.event.release.tag_name || inputs.tag }}
Original file line number Diff line number Diff line change 5252 - name : Setup Go
5353 uses : actions/setup-go@v5
5454 with :
55- go-version : ' 1.23.4 '
55+ go-version : ' 1.24.9 '
5656 - run : scripts/install_dependencies.bash
5757 - name : Install dependencies
5858 run : go get ./...
Original file line number Diff line number Diff line change 1- golang 1.23.4
1+ golang 1.24.9
22bats 1.8.2
33shellcheck 0.10.0
44shfmt 3.6.0
Original file line number Diff line number Diff line change 11module github.com/asdf-vm/asdf
22
3- go 1.23.4
3+ go 1.24.9
44
55require (
66 github.com/go-git/go-git/v5 v5.13.0
Original file line number Diff line number Diff line change @@ -309,13 +309,8 @@ case "$subcmd" in
309309 # After flag, complete with plugin name
310310 _asdf__installed_plugins
311311 else
312- # Complete with available versions for the plugin
313- local versions
314- if versions=$( asdf list all " ${words[3]} " 2> /dev/null) ; then
315- _wanted " versions-${words[3]} " \
316- expl " Available versions of ${words[3]} " \
317- compadd -- ${(f)versions}
318- fi
312+ # Complete with installed versions for the plugin
313+ _asdf__installed_versions_of_plus_system ${words[3]}
319314 fi
320315 ;;
321316 * )
@@ -325,12 +320,7 @@ case "$subcmd" in
325320 else
326321 local plugin=" ${words[3]} "
327322 fi
328- local versions
329- if versions=$( asdf list all " $plugin " 2> /dev/null) ; then
330- _wanted " versions-$plugin " \
331- expl " Available versions of $plugin " \
332- compadd -- ${(f)versions}
333- fi
323+ _asdf__installed_versions_of_plus_system $plugin
334324 ;;
335325 esac
336326 ;;
You can’t perform that action at this time.
0 commit comments