Content-Length: 258843 | pFad | https://github.com/nodejs/node/commit/8efa240500

8A doc: remove unused import from sample code · nodejs/node@8efa240 · GitHub
Skip to content

Commit 8efa240

Browse files
blended-bramruyadorno
authored andcommitted
doc: remove unused import from sample code
The `node:path` module is referenced in a code snippet that doesn't actually use it. PR-URL: #55570 Reviewed-By: Raz Luvaton <rluvaton@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 1af3599 commit 8efa240

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

doc/api/async_context.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,6 @@ a Worker pool around it could use the following structure:
626626
```mjs
627627
import { AsyncResource } from 'node:async_hooks';
628628
import { EventEmitter } from 'node:events';
629-
import path from 'node:path';
630629
import { Worker } from 'node:worker_threads';
631630

632631
const kTaskInfo = Symbol('kTaskInfo');

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/nodejs/node/commit/8efa240500

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy