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 Nov 27, 2024
1 parent 5ae07d0 commit e64f949
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 e64f949

Please sign in to comment.