diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2021-01-06 00:10:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-06 00:10:36 +0100 |
commit | 39bbbbce70c13575857b216b79ec21c37a923760 (patch) | |
tree | 7791fb712083a8471d132e42b3f3f4ae851d2e55 /cli/ops/errors.rs | |
parent | 8d1ee3bfaf9f062356858b6b7113be0ab7fa5ba6 (diff) |
fix: use inline source maps when present in js (#8995)
Diffstat (limited to 'cli/ops/errors.rs')
-rw-r--r-- | cli/ops/errors.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/ops/errors.rs b/cli/ops/errors.rs index d9893b0ef..067e901ea 100644 --- a/cli/ops/errors.rs +++ b/cli/ops/errors.rs @@ -37,11 +37,12 @@ fn op_apply_source_map( let mut mappings_map: CachedMaps = HashMap::new(); let program_state = state.borrow::<Arc<ProgramState>>().clone(); - let (orig_file_name, orig_line_number, orig_column_number) = + let (orig_file_name, orig_line_number, orig_column_number, _) = get_orig_position( args.file_name, args.line_number.into(), args.column_number.into(), + None, &mut mappings_map, program_state, ); |