File tree Expand file tree Collapse file tree 5 files changed +20
-20
lines changed Expand file tree Collapse file tree 5 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ set -euo pipefail
5
5
current_script_path=${BASH_SOURCE[0]}
6
6
plugin_dir=$( dirname " $( dirname " $current_script_path " ) " )
7
7
8
- # shellcheck source=../ lib/utils.bash
8
+ # shellcheck source=lib/utils.bash
9
9
source " ${plugin_dir} /lib/utils.bash"
10
10
11
11
mkdir -p " $ASDF_DOWNLOAD_PATH "
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ set -euo pipefail
5
5
current_script_path=${BASH_SOURCE[0]}
6
6
plugin_dir=$( dirname " $( dirname " $current_script_path " ) " )
7
7
8
- # shellcheck source=../ lib/utils.bash
8
+ # shellcheck source=lib/utils.bash
9
9
source " ${plugin_dir} /lib/utils.bash"
10
10
11
11
install_version " $ASDF_INSTALL_TYPE " " $ASDF_INSTALL_VERSION " " $ASDF_INSTALL_PATH "
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ set -euo pipefail
5
5
current_script_path=${BASH_SOURCE[0]}
6
6
plugin_dir=$( dirname " $( dirname " $current_script_path " ) " )
7
7
8
- # shellcheck source=../ lib/utils.bash
8
+ # shellcheck source=lib/utils.bash
9
9
. " ${plugin_dir} /lib/utils.bash"
10
10
11
11
curl_opts=(-sI)
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ set -euo pipefail
5
5
current_script_path=${BASH_SOURCE[0]}
6
6
plugin_dir=$( dirname " $( dirname " $current_script_path " ) " )
7
7
8
- # shellcheck source=../ lib/utils.bash
8
+ # shellcheck source=lib/utils.bash
9
9
source " ${plugin_dir} /lib/utils.bash"
10
10
11
11
list_all_versions | sort_versions | xargs echo
Original file line number Diff line number Diff line change @@ -49,22 +49,22 @@ download_release() {
49
49
}
50
50
51
51
get_platform () {
52
- local version=$1
53
-
54
- case $( uname) in
55
- # Linux OS
56
- Linux)
57
- if [ " $( uname -m) " = " aarch64" ]; then
58
- echo " linux_arm64"
59
- else
60
- echo " linux_amd64"
61
- fi
62
- ;;
63
- # Mac OS
64
- Darwin)
65
- echo " darwin_all"
66
- ;;
67
- esac
52
+ local version=$1
53
+
54
+ case $( uname) in
55
+ # Linux OS
56
+ Linux)
57
+ if [ " $( uname -m) " = " aarch64" ]; then
58
+ echo " linux_arm64"
59
+ else
60
+ echo " linux_amd64"
61
+ fi
62
+ ;;
63
+ # Mac OS
64
+ Darwin)
65
+ echo " darwin_all"
66
+ ;;
67
+ esac
68
68
}
69
69
70
70
install_version () {
You can’t perform that action at this time.
0 commit comments