From c838baf217f73e86537b2b2ea76d1be16fcbddd3 Mon Sep 17 00:00:00 2001 From: Justin Ridgewell Date: Mon, 4 Mar 2024 21:52:26 -0500 Subject: [PATCH] Eliminate arrow fn --- src/trace-mapping.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trace-mapping.ts b/src/trace-mapping.ts index 67dd4a3..520481e 100644 --- a/src/trace-mapping.ts +++ b/src/trace-mapping.ts @@ -119,7 +119,7 @@ export class TraceMap implements SourceMap { this.ignoreList = parsed.ignoreList || (parsed as XInput).x_google_ignoreList || undefined; const resolve = resolver(mapUrl, sourceRoot); - this.resolvedSources = sources.map((s) => resolve(s)); + this.resolvedSources = sources.map(resolve); const { mappings } = parsed; if (typeof mappings === 'string') {