Skip to content

Commit

Permalink
updated err msg
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Zheng <[email protected]>
  • Loading branch information
Two-Hearts committed Nov 27, 2023
1 parent 24aef8a commit b1e0084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func (m *CLIManager) Install(ctx context.Context, filePath string, overwrite boo
existingPlugin, err := m.Get(ctx, pluginName)
if err != nil {
if !errors.Is(err, os.ErrNotExist) {
return nil, nil, fmt.Errorf("failed to get existing plugin: %w", err)
return nil, nil, fmt.Errorf("failed to check plugin existence: %w", err)
}
} else { // plugin already exists
var err error
Expand Down

0 comments on commit b1e0084

Please sign in to comment.