Skip to content

Commit a5b9594

Browse files
committed
Add radix to parseInt
1 parent 0ed03c1 commit a5b9594

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

extensions/ql-vscode/scripts/source-map.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ async function extractSourceMap() {
8787
null,
8888
async function (consumer) {
8989
return consumer.originalPositionFor({
90-
line: parseInt(line),
91-
column: parseInt(column),
90+
line: parseInt(line, 10),
91+
column: parseInt(column, 10),
9292
});
9393
},
9494
);
@@ -126,8 +126,8 @@ async function extractSourceMap() {
126126
null,
127127
async function (consumer) {
128128
return consumer.originalPositionFor({
129-
line: parseInt(line),
130-
column: parseInt(column),
129+
line: parseInt(line, 10),
130+
column: parseInt(column, 10),
131131
});
132132
},
133133
);

0 commit comments

Comments
 (0)