We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4f393e commit 248b6c4Copy full SHA for 248b6c4
packages/vscode-js-profile-core/src/profileAnnotations.ts
@@ -26,7 +26,7 @@ export abstract class ProfileAnnotations<DataType, NodeType extends INode> {
26
for (const path of getCandidateDiskPaths(rootPath, src.source)) {
27
this.set(
28
path,
29
- new Position(Math.max(0, src.lineNumber), Math.max(0, src.columnNumber)),
+ new Position(Math.max(0, src.lineNumber - 1), Math.max(0, src.columnNumber - 1)),
30
node,
31
);
32
}
0 commit comments