chore: use local for func scoped var

This commit is contained in:
James Hegedus 2022-06-21 22:27:05 +10:00 committed by GitHub
parent cef50ac051
commit 64ea460f64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,7 @@ display_installed_versions() {
local plugin_name=$1
local query=$2
local versions
local current_version
local flag
versions=$(list_installed_versions "$plugin_name")