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(