Skip to content

Commit

Permalink
fix: invalid go_sdk_path value if not defined env of GO_SDK_PATH
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 6d3618f commit 0afa6ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ list_all_versions() {

go_sdk_path() {
if [[ -z "${GO_SDK_PATH}" ]]; then
go_plugin_tool sdk-path
GO_SDK_PATH=$(go_plugin_tool sdk-path)
fi
echo "${GO_SDK_PATH}"
}
Expand Down

0 comments on commit 0afa6ed

Please sign in to comment.