add parameter to current version

This commit is contained in:
Fernando Crespo 2017-03-14 11:07:22 -03:00
parent 1ea63ec257
commit 3e72800052

View File

@ -25,7 +25,7 @@ which_command() {
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 $plugin_name))
if [ -d $install_path ]; then
echo $install_path