From 834e7a6a45b754b855c36280bb550dcb5cf59048 Mon Sep 17 00:00:00 2001 From: Geoff Greer Date: Thu, 26 Feb 2026 09:04:17 -0800 Subject: [PATCH] Fix linter errors. --- test/mocks/github.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/mocks/github.go b/test/mocks/github.go index 45f5445a..1e50ef5e 100644 --- a/test/mocks/github.go +++ b/test/mocks/github.go @@ -1,3 +1,4 @@ +//nolint:gosec // We don't care about XSS in mock data for tests. package mocks import ( @@ -454,9 +455,7 @@ func (mgh MockGitHub) getRepositoryCollaborator( mgh.repositoryMemberships, "repository_id", ) - _, _ = w.Write( - mock.MustMarshal(user), - ) + _, _ = w.Write(mock.MustMarshal(user)) } func (mgh MockGitHub) addMembership(