diff --git a/plugins/ghupdate/ghupdate.go b/plugins/ghupdate/ghupdate.go index 631f03fc..b93c423c 100644 --- a/plugins/ghupdate/ghupdate.go +++ b/plugins/ghupdate/ghupdate.go @@ -188,7 +188,7 @@ func (p *plugin) update(withBackup bool) error { // try again with an .exe extension newExec = newExec + ".exe" if _, fallbackErr := os.Stat(newExec); fallbackErr != nil { - return fmt.Errorf("The executable in the extracted path is missing or it is inaccessible: %w, %w", err, fallbackErr) + return fmt.Errorf("The executable in the extracted path is missing or it is inaccessible: %v, %v", err, fallbackErr) } }