Skip to content

Commit e4211d5

Browse files
fiskeraduh95
andauthored
Update doc/api/worker_threads.md
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent d7bcad3 commit e4211d5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

doc/api/worker_threads.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,6 @@ new Worker('process.env.SET_IN_WORKER = "foo"', { eval: true, env: SHARE_ENV })
678678
```cjs
679679
'use strict';
680680
681-
const process = require('node:process');
682681
const { Worker, SHARE_ENV } = require('node:worker_threads');
683682
new Worker('process.env.SET_IN_WORKER = "foo"', { eval: true, env: SHARE_ENV })
684683
.once('exit', () => {

0 commit comments

Comments
 (0)