mirror of https://github.com/helm/helm
When HELM_PLUGINS contains a colon-separated list of directories, FindPlugins() correctly reads from all of them using filepath.SplitList(). However, plugin install was ignoring the split and falling back to the raw HELM_PLUGINS string as the destination directory instead of using the first entry. This change adds pluginInstallDir() which returns the first entry from HELM_PLUGINS when multiple paths are present, consistent with how git handles multiple path variables and matching user expectations. Fixes #11310pull/32079/head
parent
4bd9e90aa0
commit
467fd5df9e
Loading…
Reference in new issue