Skip to content

Commit

Permalink
fix: '*' was created when SDK directory was empty
Browse files Browse the repository at this point in the history
Signed-off-by: Yasunori Fujie <fujie@ai2-jp.com>
  • Loading branch information
yacchi committed Sep 2, 2021
1 parent 0afa6ed commit 1b4a397
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ find_go_installed_bin() {
}

list_installed_sdks() {
shopt -s nullglob
for sdk in "$(go_sdk_path)"/go*; do
echo "${sdk}"
done
Expand Down

0 comments on commit 1b4a397

Please sign in to comment.