Skip to content

Commit

Permalink
Eliminate arrow fn
Browse files Browse the repository at this point in the history
  • Loading branch information
jridgewell committed Mar 5, 2024
1 parent ff27459 commit c838baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trace-mapping.ts
Expand Up @@ -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') {
Expand Down

0 comments on commit c838baf

Please sign in to comment.