diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2021-02-26 11:40:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-26 12:40:05 +0100 |
commit | ebd2047de442334d6a8fea3a1d2d87e49980f90e (patch) | |
tree | 34004d5082702e89ec0b2fec5f29f10a25038f98 /cli/ops/errors.rs | |
parent | 3d87198ba0e8775e303da01519f01a2025c55cee (diff) |
feat(cli/source_map): Use top user frame for error source lines (#9604)
This commit changes formatting of JS errors; by not showing
source lines for internal code. Where possible, instead using
the top stack frame associated with user code i.e. the first
location that is colourful and not a "deno:" URL.
Diffstat (limited to 'cli/ops/errors.rs')
-rw-r--r-- | cli/ops/errors.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cli/ops/errors.rs b/cli/ops/errors.rs index e70573ba9..9ab953013 100644 --- a/cli/ops/errors.rs +++ b/cli/ops/errors.rs @@ -42,7 +42,6 @@ fn op_apply_source_map( args.file_name, args.line_number.into(), args.column_number.into(), - None, &mut mappings_map, program_state, ); |