codePreviews: fix line numbers pulling from wrong string

This commit is contained in:
Cynthia Foxwell 2022-06-28 21:29:30 -06:00
parent 546832f675
commit dc03de59c4
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ async function processFile(link) {
let entireFile = false;
if (lineStr) {
const [start, end] = link.match(/\d+/g);
const [start, end] = lineStr.match(/\d+/g);
if (!end) {
startLine = endLine = start;
} else {