Skip to content

Commit 87e5429

Browse files
aduh95targos
authored andcommitted
tools,doc: fix error message for unrecognized type
PR-URL: #39221 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 131dd6e commit 87e5429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/doc/type-parser.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ export function toLink(typeInput) {
213213
} else {
214214
throw new Error(
215215
`Unrecognized type: '${typeTextFull}'.\n` +
216-
"Please, edit the type or update the 'tools/doc/type-parser.js'."
216+
`Please, edit the type or update '${import.meta.url}'.`
217217
);
218218
}
219219
} else {

0 commit comments

Comments
 (0)