mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Address shellcheck warnings
This commit is contained in:
parent
8bcf8caba4
commit
8f242e7ec2
@ -13,6 +13,7 @@ which_command() {
|
||||
continue
|
||||
fi
|
||||
|
||||
install_path=$(find_install_path "$plugin_name" "$version")
|
||||
executable_path="$(get_custom_executable_path "$plugin_path" "$install_path" "$executable_path")"
|
||||
full_executable_path=$(get_executable_path "$plugin_name" "$version" "$executable_path")
|
||||
location=$(find -L "$full_executable_path" -maxdepth 4 -name "$command" -type f -perm -u+x | sed -e 's|//|/|g')
|
||||
|
@ -231,7 +231,7 @@ get_custom_executable_path() {
|
||||
executable_path="$("${plugin_path}/bin/exec-path" "$install_path" "$cmd" "$executable_path")"
|
||||
fi
|
||||
|
||||
echo $executable_path
|
||||
echo "$executable_path"
|
||||
}
|
||||
|
||||
get_executable_path() {
|
||||
|
Loading…
Reference in New Issue
Block a user