1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2024-11-24 17:07:00 +02:00

replaced multiple error wraps with plain %v for older go 1.18 and go 1.19 compatibility

This commit is contained in:
Gani Georgiev 2023-05-29 17:01:04 +03:00
parent 732044f795
commit dbbc1e25ca

View File

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