Skip to content

Commit 50629fb

Browse files
committed
fix linting
1 parent 0b0bd5e commit 50629fb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dev-packages/cloudflare-integration-tests/suites/tracing/worker-service-binding/index-sub-worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ interface Env {
55
}
66

77
const myWorker = {
8-
async fetch(request: Request) {
8+
async fetch(_: Request) {
99
return new Response('Hello from another worker!');
1010
},
1111
};

packages/browser/src/integrations/view-hierarchy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export const viewHierarchyIntegration = defineIntegration((options: Options = {}
104104
return {
105105
name: 'ViewHierarchy',
106106
processEvent: (event, hint) => {
107-
if (options.shouldAttach && options.shouldAttach(event, hint) === false) {
107+
if (options.shouldAttach?.(event, hint) === false) {
108108
return event;
109109
}
110110

0 commit comments

Comments
 (0)