Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kvii committed May 2, 2024
1 parent e44299b commit ed23ced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hijack.go
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ func (p *Page) HijackResource(pattern string, resourceType proto.NetworkResource
wait := p.WaitEvent(e)

return func() HijackResult {
defer proto.FetchDisable{}.Call(p)
defer func() { _ = proto.FetchDisable{}.Call(p) }()
wait()

body, err := proto.FetchGetResponseBody{
Expand Down

0 comments on commit ed23ced

Please sign in to comment.