Skip to content

Commit

Permalink
doc: remove unused import from sample code
Browse files Browse the repository at this point in the history
The `node:path` module is referenced in a code snippet that doesn't
actually use it.

PR-URL: #55570
Reviewed-By: Raz Luvaton <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
  • Loading branch information
blended-bram authored and aduh95 committed Dec 13, 2024
1 parent fc0f7b2 commit b755453
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion doc/api/async_context.md
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,6 @@ a Worker pool around it could use the following structure:
```mjs
import { AsyncResource } from 'node:async_hooks';
import { EventEmitter } from 'node:events';
import path from 'node:path';
import { Worker } from 'node:worker_threads';

const kTaskInfo = Symbol('kTaskInfo');
Expand Down

0 comments on commit b755453

Please sign in to comment.