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: https://github.com/nodejs/node/pull/55570
Reviewed-By: Raz Luvaton <rluvaton@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
Blended Bram authored and Michaël Zasso committed 2024-12-02 09:41:22 +01:00
1 parent 2cd939cb95
commit a1b26608ae
1 file changed
-1
-1
View File
@@ -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');