提交 643e8aee 编写于 作者: fxy060608's avatar fxy060608

wip(uts): sourceMap

上级 4d0fe707
......@@ -96,7 +96,7 @@ export function generatedPositionFor({
}: PositionFor): Promise<NullablePosition> {
return resolveSourceMapConsumer(sourceMapFile).then((consumer) => {
return consumer.generatedPositionFor({
source: isWindows ? `\\\\?\\` : '' + filename,
source: (isWindows ? `\\\\?\\` : '') + filename,
line,
column,
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册