mirror of
https://github.com/pocketbase/pocketbase.git
synced 2024-11-25 01:16:21 +02:00
replaced multiple error wraps with plain %v for older go 1.18 and go 1.19 compatibility
This commit is contained in:
parent
732044f795
commit
dbbc1e25ca
@ -188,7 +188,7 @@ func (p *plugin) update(withBackup bool) error {
|
|||||||
// try again with an .exe extension
|
// try again with an .exe extension
|
||||||
newExec = newExec + ".exe"
|
newExec = newExec + ".exe"
|
||||||
if _, fallbackErr := os.Stat(newExec); fallbackErr != nil {
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user