18704-preserve-locations
adiguba 2 weeks ago
parent beb71e81de
commit dd6c2d6ba9

@ -58,7 +58,8 @@ export function set_source(value, sourcemap) {
source = value;
source_lines = source.split('\n');
const map = (sourcemap && typeof sourcemap === 'object')
const map =
sourcemap && typeof sourcemap === 'object'
? new TraceMap(/** @type {any} */ (sourcemap))
: null;

Loading…
Cancel
Save