Skip to content

Commit

Permalink
fix: default-gems empty line (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmschp authored Dec 23, 2024
1 parent 76e315c commit f82488e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/install
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ install_default_gems() {
# Parsing of .default-gems was originally lifted from rbenv-default-gems
# which is Copyright (c) 2013 Sam Stephenson
# https://github.com/rbenv/rbenv-default-gems/blob/ead6788/LICENSE
while IFS=" " read -r -a line; do
while IFS=" " read -r -a line || [ -n "$line" ]; do

# Skip empty lines.
[ "${#line[@]}" -gt 0 ] || continue
Expand Down

0 comments on commit f82488e

Please sign in to comment.