chore: fix linter rules

This commit is contained in:
João "Pisco" Fernandes
2025-04-01 18:51:40 +01:00
parent 8f94f54ec7
commit 553e77e061
7 changed files with 15 additions and 90 deletions

View File

@@ -14,7 +14,7 @@ func TestCredentialsRead(t *testing.T) {
require.NoError(t, err)
dir := t.TempDir()
certPath := filepath.Join(dir, originCertFile)
os.WriteFile(certPath, file, fs.ModePerm)
_ = os.WriteFile(certPath, file, fs.ModePerm)
user, err := Read(certPath, &nopLog)
require.NoError(t, err)
require.Equal(t, certPath, user.CertPath())