From ba35b6ccd1c92097810914686d0be54068bf3b34 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Fri, 18 Feb 2022 12:37:45 +0100 Subject: [PATCH] worker: fix typo in debug statement MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/42011 Reviewed-By: Tobias Nießen Reviewed-By: Akhil Marsonya Reviewed-By: Mestery Reviewed-By: Benjamin Gruenbaum Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca --- lib/internal/main/worker_thread.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/main/worker_thread.js b/lib/internal/main/worker_thread.js index a5816f1f1cf4ee..a8167b86ca2e5a 100644 --- a/lib/internal/main/worker_thread.js +++ b/lib/internal/main/worker_thread.js @@ -164,7 +164,7 @@ port.on('message', (message) => { process.stdin.push(null); debug(`[${threadId}] starts worker script ${filename} ` + - `(eval = ${eval}) at cwd = ${process.cwd()}`); + `(eval = ${doEval}) at cwd = ${process.cwd()}`); port.postMessage({ type: UP_AND_RUNNING }); if (doEval === 'classic') { const { evalScript } = require('internal/process/execution');