Fix and clarify error message when -plugin-dir can't be saved to workspace directory

pull/35379/head
Niklas Rosenstein 2 years ago committed by Nick Fagerlund
parent 21a695e603
commit 50463774b0

@ -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
}

Loading…
Cancel
Save