1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-21 21:50:00 -05:00
This commit is contained in:
Bartek Iwańczuk 2024-12-23 08:53:30 +01:00
parent a6d1032891
commit fdea4eaa7e
No known key found for this signature in database
GPG key ID: 0C6BCDDC3B3AD750

View file

@ -93,7 +93,7 @@ export class Context {
const range = data.node ? data.node.range : data.range ? data.range : null;
if (range == null) {
throw new Error(
"Either `node` or `span` must be provided when reporting an error",
"Either `node` or `range` must be provided when reporting an error",
);
}