1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-07-16 10:44:16 +02:00

updated dependencies and golangci-lint to v2

This commit is contained in:
Gani Georgiev
2025-04-12 20:04:04 +03:00
parent d9af1475ef
commit 4cc797071b
18 changed files with 93 additions and 109 deletions

View File

@ -653,7 +653,7 @@ func (w *writer) Close() error {
// Always delete the temp file. On success, it will have been renamed so
// the Remove will fail.
tempname := w.File.Name()
tempname := w.Name()
defer os.Remove(tempname)
// Check if the write was cancelled.