mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
tools,doc: fix error message for unrecognized type
PR-URL: https://github.com/nodejs/node/pull/39221 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
committed by
Michaël Zasso
parent
5e32644b6f
commit
b5375f2e55
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user