From 3969c65db65f273aed2f9146f5ebfa2ed9aa2bb9 Mon Sep 17 00:00:00 2001 From: Blended Bram Date: Wed, 27 Nov 2024 21:18:00 +0100 Subject: [PATCH] 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 Reviewed-By: Antoine du Hamel --- doc/api/async_context.md | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/api/async_context.md b/doc/api/async_context.md index d1be2fb3807e17..6b018bc9d4e292 100644 --- a/doc/api/async_context.md +++ b/doc/api/async_context.md @@ -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');