We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3ecb0a8 + ce11cff commit 7b717c8Copy full SHA for 7b717c8
2 files changed
.tool-versions
@@ -1,3 +1,3 @@
1
-ruby 3.0.0
+ruby 3.4.5
2
nodejs 20.13.1
3
yarn 1.22.19
bin/dev
@@ -41,7 +41,8 @@ fi
41
echo "🧰 Installing/updating asdf tools from .tool-versions..."
42
43
# Check all tools in .tool-versions
44
-while read -r tool version; do
+# The `|| [[ -n "$tool" ]]` ensures the final line is processed even if the file lacks a trailing newline
45
+while read -r tool version || [[ -n "$tool" ]]; do
46
# Skip empty lines
47
[[ -z "$tool" || -z "$version" ]] && continue
48
0 commit comments