Skip to content

Commit 7b717c8

Browse files
Merge pull request #2767 from ably/2025-08-14-new-user-build-fixes
Fixes to local dev experience
2 parents 3ecb0a8 + ce11cff commit 7b717c8

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
ruby 3.0.0
1+
ruby 3.4.5
22
nodejs 20.13.1
33
yarn 1.22.19

bin/dev

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ fi
4141
echo "🧰 Installing/updating asdf tools from .tool-versions..."
4242

4343
# Check all tools in .tool-versions
44-
while read -r tool version; do
44+
# 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
4546
# Skip empty lines
4647
[[ -z "$tool" || -z "$version" ]] && continue
4748

0 commit comments

Comments
 (0)