diff --git a/pkg/plugin/plugin_test.go b/pkg/plugin/plugin_test.go index 2bbdff21d..3b44a6eb5 100644 --- a/pkg/plugin/plugin_test.go +++ b/pkg/plugin/plugin_test.go @@ -193,7 +193,7 @@ func TestLoadDir(t *testing.T) { Version: "0.1.0", Usage: "usage", Description: "description", - Command: "$HELM_PLUGIN_SELF/hello.sh", + Command: "$HELM_PLUGIN_DIR/hello.sh", IgnoreFlags: true, Hooks: map[string]string{ Install: "echo installing...", diff --git a/pkg/plugin/testdata/plugdir/good/hello/plugin.yaml b/pkg/plugin/testdata/plugdir/good/hello/plugin.yaml index 2b972da59..b857b55ee 100644 --- a/pkg/plugin/testdata/plugdir/good/hello/plugin.yaml +++ b/pkg/plugin/testdata/plugdir/good/hello/plugin.yaml @@ -3,7 +3,7 @@ version: "0.1.0" usage: "usage" description: |- description -command: "$HELM_PLUGIN_SELF/hello.sh" +command: "$HELM_PLUGIN_DIR/hello.sh" ignoreFlags: true hooks: install: "echo installing..."