mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Fix no install_type
This commit is contained in:
parent
fb4e263598
commit
5ccb7d75f5
@ -23,11 +23,12 @@ which_command() {
|
||||
local plugin_name=$1
|
||||
local plugin_path=$(get_plugin_path $plugin_name)
|
||||
check_if_plugin_exists $plugin_name
|
||||
local install_type="version"
|
||||
|
||||
local install_path=$(get_install_path $plugin_name $install_type $(current_version))
|
||||
local install_path=$(get_install_path $plugin_name $install_type $(current_version)))
|
||||
|
||||
if [ -d $install_path ]; then
|
||||
echo $install_path/$plugin_name
|
||||
echo $install_path
|
||||
exit 0
|
||||
else
|
||||
echo "Version not installed"
|
||||
|
Loading…
Reference in New Issue
Block a user