From 2481ddd08da5ddec5c0d31c4b8070644aaaefe0c Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Thu, 1 Jul 2021 17:03:15 +0200 Subject: [PATCH] tools,doc: fix error message for unrecognized type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/39221 Reviewed-By: Michaƫl Zasso Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- tools/doc/type-parser.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/doc/type-parser.mjs b/tools/doc/type-parser.mjs index e3b8ad0ffac4bf..fff8f5afbd06cb 100644 --- a/tools/doc/type-parser.mjs +++ b/tools/doc/type-parser.mjs @@ -288,7 +288,7 @@ export function toLink(typeInput) { } else { throw new Error( `Unrecognized type: '${typeTextFull}'.\n` + - "Please, edit the type or update the 'tools/doc/type-parser.js'." + `Please, edit the type or update '${import.meta.url}'.` ); } } else {