Skip to content

Commit

Permalink
Nolint for unused methods
Browse files Browse the repository at this point in the history
This is added temporarily until these methods are used in a related PR
(see #1006).
  • Loading branch information
ka3de committed Aug 23, 2023
1 parent e03655c commit f8f9bfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common/frame_session.go
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,7 @@ func (fs *FrameSession) updateViewport() error {
return nil
}

func (fs *FrameSession) executionContextForID(
func (fs *FrameSession) executionContextForID( //nolint:unused
executionContextID cdpruntime.ExecutionContextID,
) (*ExecutionContext, error) {
fs.contextIDToContextMu.Lock()
Expand Down
2 changes: 1 addition & 1 deletion common/page.go
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ func (p *Page) Workers() []api.Worker {
}

// executionContextForID returns the page ExecutionContext for the given ID.
func (p *Page) executionContextForID(
func (p *Page) executionContextForID( //nolint:unused
executionContextID cdpruntime.ExecutionContextID,
) (*ExecutionContext, error) {
p.frameSessionsMu.RLock()
Expand Down

0 comments on commit f8f9bfb

Please sign in to comment.