diff options
author | ShinDarth <borzifrancesco@gmail.com> | 2018-09-02 00:49:47 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-09-01 21:59:52 -0400 |
commit | bbc4e55bdae2d37fee92e778f4a13eaf1d4fb4e1 (patch) | |
tree | 4b02289cd48406709fc2445152ebc4904c609f9a /js/v8_source_maps.ts | |
parent | 2eb80f3617e44f9be2bd8ac15762824924bdfa08 (diff) |
Minor code refactoring
Diffstat (limited to 'js/v8_source_maps.ts')
-rw-r--r-- | js/v8_source_maps.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/v8_source_maps.ts b/js/v8_source_maps.ts index 8961a0626..94c437f6d 100644 --- a/js/v8_source_maps.ts +++ b/js/v8_source_maps.ts @@ -242,8 +242,7 @@ function mapSourcePosition(position: Position): MappedPosition { if (consumer == null) { return position; } - const mapped = consumer.originalPositionFor(position); - return mapped; + return consumer.originalPositionFor(position); } // Parses code generated by FormatEvalOrigin(), a function inside V8: |