Skip to content

Commit 11faa8a

Browse files
committed
cli: trust sourceProcessor with finding sourcemap path
1 parent 7db68ac commit 11faa8a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tools/cli/src/helpers/common.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ function resolveSourceMapPath(sourceProcessor: SourceProcessor) {
119119
return pipe(
120120
asset.path,
121121
(path) => sourceProcessor.getSourceMapPathFromSourceFile(path),
122-
R.map((result) => result ?? pathIfExists(`${asset.path}.map`)),
123122
R.map((path) => (path ? Ok(path) : Err('could not find source map for source'))),
124123
R.map((path) => ({
125124
...asset,

0 commit comments

Comments
 (0)