Skip to content

Commit 2481ddd

Browse files
aduh95targos
authored andcommitted
tools,doc: fix error message for unrecognized type
PR-URL: #39221 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 41161ea commit 2481ddd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tools/doc/type-parser.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ export function toLink(typeInput) {
288288
} else {
289289
throw new Error(
290290
`Unrecognized type: '${typeTextFull}'.\n` +
291-
"Please, edit the type or update the 'tools/doc/type-parser.js'."
291+
`Please, edit the type or update '${import.meta.url}'.`
292292
);
293293
}
294294
} else {

0 commit comments

Comments
 (0)