docs(plugin): clarify pluginsDir comment

Update the comment to state that the first non-empty directory in HELM_PLUGINS is used.

Signed-off-by: Yuhui Luo <92632263+lyh7c00@users.noreply.github.com>
pull/32569/head
Yuhui Luo 1 month ago committed by GitHub
parent 85b60705a2
commit 62857cf906
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -38,7 +38,7 @@ func newBase(source string) base {
// pluginsDir returns the directory where plugins should be installed. When
// HELM_PLUGINS contains a list of directories (separated by the OS path list
// separator), the first directory is the default install target.
// separator), the first non-empty directory is the default install target.
func (b *base) pluginsDir() string {
for _, dir := range filepath.SplitList(b.PluginsDirectory) {
if dir != "" {

Loading…
Cancel
Save