Skip to content

Commit b47de74

Browse files
authored
docs(cloudflare): Fix spacing in README snippet (#13368)
Fixes spacing in readme snippet
1 parent 615c670 commit b47de74

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

packages/cloudflare/README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -114,16 +114,16 @@ Currently only ESM handlers are supported.
114114
import * as Sentry from '@sentry/cloudflare';
115115

116116
export default withSentry(
117-
(env) => ({
118-
dsn: env.SENTRY_DSN,
117+
env => ({
118+
dsn: env.SENTRY_DSN,
119119
// Set tracesSampleRate to 1.0 to capture 100% of spans for tracing.
120-
tracesSampleRate: 1.0,
121-
}),
122-
{
123-
async fetch(request, env, ctx) {
124-
return new Response('Hello World!');
125-
},
126-
} satisfies ExportedHandler<Env>
120+
tracesSampleRate: 1.0,
121+
}),
122+
{
123+
async fetch(request, env, ctx) {
124+
return new Response('Hello World!');
125+
},
126+
} satisfies ExportedHandler<Env>,
127127
);
128128
```
129129

0 commit comments

Comments
 (0)