Fix all errcheck linter issues

Co-authored-by: Junie <junie@jetbrains.com>
This commit is contained in:
2026-03-15 10:36:35 -07:00
parent 87b7323367
commit d0b1875dbb
13 changed files with 71 additions and 71 deletions

View File

@@ -21,7 +21,7 @@ server_url = "https://mcias.example.com"
`
dir := t.TempDir()
path := filepath.Join(dir, "test.toml")
os.WriteFile(path, []byte(content), 0600)
_ = os.WriteFile(path, []byte(content), 0600)
cfg, err := Load(path)
if err != nil {
@@ -48,7 +48,7 @@ listen_addr = ":8443"
`
dir := t.TempDir()
path := filepath.Join(dir, "test.toml")
os.WriteFile(path, []byte(content), 0600)
_ = os.WriteFile(path, []byte(content), 0600)
_, err := Load(path)
if err == nil {