codePreviews: .

This commit is contained in:
Cynthia Foxwell 2022-05-07 17:00:17 -06:00
parent 314c656a90
commit fa90552c2a
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ events.add("messageCreate", "codePreviews", async function (msg) {
? ""
: fileName.substring(fileName.indexOf(".") + 1);
const lineStr = link.match(/#L\d+?(-L\d+?)?/)[0];
const lineStr = link.match(/#L\d+?(-L\d+?)?/)?.[0];
let startLine, endLine;
let entireFile = false;