Skip to content

Commit

Permalink
Remove golint from godoc and move no next line
Browse files Browse the repository at this point in the history
  • Loading branch information
KunalSin9h authored and Sean-Der committed May 22, 2023
1 parent 323469d commit 1df634e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions peerconnection.go
Original file line number Diff line number Diff line change
Expand Up @@ -1034,8 +1034,7 @@ func (pc *PeerConnection) LocalDescription() *SessionDescription {
}

// SetRemoteDescription sets the SessionDescription of the remote peer
// nolint: gocyclo
func (pc *PeerConnection) SetRemoteDescription(desc SessionDescription) error { //nolint:gocognit
func (pc *PeerConnection) SetRemoteDescription(desc SessionDescription) error { //nolint:gocognit,gocyclo
if pc.isClosed.get() {
return &rtcerr.InvalidStateError{Err: ErrConnectionClosed}
}
Expand Down

0 comments on commit 1df634e

Please sign in to comment.