Skip to content

Commit

Permalink
Fix and clarify error message when -plugin-dir can't be saved to work…
Browse files Browse the repository at this point in the history
…space directory
  • Loading branch information
NiklasRosenstein authored and nfagerlund committed Jun 24, 2024
1 parent 21a695e commit 5046377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/command/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 5046377

Please sign in to comment.