From 50463774b0dcbf3009e7e722272747acebedfb95 Mon Sep 17 00:00:00 2001 From: Niklas Rosenstein Date: Wed, 19 Jun 2024 06:34:35 +0200 Subject: [PATCH] Fix and clarify error message when -plugin-dir can't be saved to workspace directory --- internal/command/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/command/init.go b/internal/command/init.go index 238bc98d95..8c44b67e9f 100644 --- a/internal/command/init.go +++ b/internal/command/init.go @@ -92,7 +92,7 @@ func (c *InitCommand) Run(args []string) int { } if err := c.storePluginPath(c.pluginPath); err != nil { - diags = diags.Append(fmt.Errorf("Error saving -plugin-path values: %s", err)) + diags = diags.Append(fmt.Errorf("Error saving -plugin-dir to workspace directory: %s", err)) view.Diagnostics(diags) return 1 }