Skip to content

Commit b49f3f5

Browse files
committed
Lint 🤦🏻‍♂️
1 parent 59b6bff commit b49f3f5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

packages/node-native/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ If you instrument your application via the Node.js `--import` flag, this
2929
instrumentation will be automatically applied to all worker threads.
3030

3131
`instrument.mjs`
32+
3233
```javascript
3334
import * as Sentry from '@sentry/node';
3435
import { threadBlockedIntegration } from '@sentry/node-native';
@@ -41,6 +42,7 @@ Sentry.init({
4142
```
4243

4344
`app.mjs`
45+
4446
```javascript
4547
import { Worker } from 'worker_threads';
4648

@@ -50,10 +52,11 @@ const worker = new Worker(new URL('./worker.mjs', import.meta.url));
5052
```
5153
5254
`worker.mjs`
53-
```javascript
5455
56+
```javascript
5557
// This worker thread will also be monitored for blocked event loops too
5658
```
59+
5760
Start your application:
5861
5962
```bash

packages/node-native/rollup.npm.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default makeNPMConfigVariants(
88
dir: 'build',
99
// set exports to 'named' or 'auto' so that rollup doesn't warn
1010
exports: 'named',
11-
preserveModules: true
11+
preserveModules: true,
1212
},
1313
},
1414
}),

0 commit comments

Comments
 (0)