plugin/ruby: add missing parameter error message

pull/1955/head
John D Pell 2021-09-22 13:37:18 -07:00
parent 8a81fd7271
commit e5e7c7c55b
1 changed files with 1 additions and 1 deletions

View File

@ -13,5 +13,5 @@ function remove_gem() {
param '1: installed gem name' param '1: installed gem name'
group 'ruby' group 'ruby'
gem list | grep "${1?}" | awk '{ print $1; }' | xargs sudo gem uninstall gem list | grep "${1:?${FUNCNAME[0]}: no gem name provided}" | awk '{ print $1; }' | xargs sudo gem uninstall
} }