mirror of
https://github.com/denoland/deno.git
synced 2025-01-21 21:50:00 -05:00
type
This commit is contained in:
parent
a6d1032891
commit
fdea4eaa7e
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue