From 3e72800052b0a0243b01795237a73a60ed382104 Mon Sep 17 00:00:00 2001 From: Fernando Crespo Date: Tue, 14 Mar 2017 11:07:22 -0300 Subject: [PATCH] add parameter to current version --- lib/commands/which.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands/which.sh b/lib/commands/which.sh index a41c8d78..b85e4d37 100644 --- a/lib/commands/which.sh +++ b/lib/commands/which.sh @@ -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