Skip to content

Commit 27b4c82

Browse files
committed
Reshim when a version is already installed
1 parent 9ded6fd commit 27b4c82

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

asdf-install-versions

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ cat .tool-versions | while read -r version; do
88
ret=$(asdf where $version)
99
ex=$?
1010
if [ $ex -eq 0 ]; then
11-
echo "$version is already installed. Skipping"
11+
echo "$version is already installed. Reshimming"
12+
asdf reshim $version
1213
else
1314
echo "$version is not installed. Trying to install..."
1415
asdf install $version

0 commit comments

Comments
 (0)