From ebd2047de442334d6a8fea3a1d2d87e49980f90e Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Fri, 26 Feb 2021 11:40:05 +0000 Subject: 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. --- cli/ops/errors.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'cli/ops') 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, ); -- cgit v1.2.3