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 <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
aduh95 authored and targos committed Sep 4, 2021
1 parent 131dd6e commit 87e5429
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 @@ -213,7 +213,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 87e5429

Please sign in to comment.