From 62857cf906fc1e92bf92d94980cd41c7d45d2cf9 Mon Sep 17 00:00:00 2001 From: Yuhui Luo <92632263+lyh7c00@users.noreply.github.com> Date: Wed, 26 Aug 2026 16:05:23 +0800 Subject: [PATCH] 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> --- internal/plugin/installer/base.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/plugin/installer/base.go b/internal/plugin/installer/base.go index 361abff05..5f8e745cc 100644 --- a/internal/plugin/installer/base.go +++ b/internal/plugin/installer/base.go @@ -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 != "" {