Skip to content

Commit 5046377

Browse files
NiklasRosensteinnfagerlund
authored andcommitted
Fix and clarify error message when -plugin-dir can't be saved to workspace directory
1 parent 21a695e commit 5046377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/command/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func (c *InitCommand) Run(args []string) int {
9292
}
9393

9494
if err := c.storePluginPath(c.pluginPath); err != nil {
95-
diags = diags.Append(fmt.Errorf("Error saving -plugin-path values: %s", err))
95+
diags = diags.Append(fmt.Errorf("Error saving -plugin-dir to workspace directory: %s", err))
9696
view.Diagnostics(diags)
9797
return 1
9898
}

0 commit comments

Comments
 (0)