diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-15 13:48:34 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-15 13:48:34 -0800 |
| commit | 2327f93098b4278c93055a96224ae82cef60b083 (patch) | |
| tree | 1a5e647bfa520c108dc7750e34332ad312572bdc /internal/importer | |
| parent | 4c570c223e944a148dc81a4e1ee25d6ab524ae64 (diff) | |
| download | neko-2327f93098b4278c93055a96224ae82cef60b083.tar.gz neko-2327f93098b4278c93055a96224ae82cef60b083.tar.bz2 neko-2327f93098b4278c93055a96224ae82cef60b083.zip | |
Backend: Fix linting issues, improve error handling, and replace magic numbers
Diffstat (limited to 'internal/importer')
| -rw-r--r-- | internal/importer/importer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/importer/importer.go b/internal/importer/importer.go index f74ace1..de5e66c 100644 --- a/internal/importer/importer.go +++ b/internal/importer/importer.go @@ -150,7 +150,7 @@ func ImportJSON(filename string) error { if err != nil { return err } - defer f.Close() + defer func() { _ = f.Close() }() return ImportJSONReader(f) } |
