We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3f0c49c + d069b34 commit ba5be71Copy full SHA for ba5be71
lib/services/ios-log-filter.ts
@@ -54,8 +54,9 @@ export class IOSLogFilter implements Mobile.IPlatformLogFilter {
54
let sourceMap = this.$fs.readText(sourceMapFile, "utf8").wait();
55
let smc = new sourcemap.SourceMapConsumer(sourceMap);
56
let originalPosition = smc.originalPositionFor({line:row,column:column});
57
+ let sourceFile = smc.sources.length > 0 ? file.replace(smc.file, smc.sources[0]) : file;
58
data = data.substring(0, fileIndex + fileString.length)
- + file.replace(".js", ".ts") + ":"
59
+ + sourceFile + ":"
60
+ originalPosition.line + ":"
61
+ originalPosition.column;
62
for (let i = 3; i<parts.length; i++) {
0 commit comments