Skip to content

Commit

Permalink
tools,doc: fix error message for unrecognized type
Browse files Browse the repository at this point in the history
PR-URL: #39221
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
aduh95 authored and targos committed Jul 11, 2021
1 parent 41161ea commit 2481ddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/doc/type-parser.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2481ddd

Please sign in to comment.