Skip to content

Commit b6679e3

Browse files
fix(migrate): extract path
1 parent a2e0379 commit b6679e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrate/migrate-bot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ async function retry(fn, retries = 3, delay = 1000) {
4343

4444

4545
function extractLink(title) {
46-
const urlRegex = /https?:\/\/en\.cppreference\.com\/w\/[^\s]+/g;
46+
const urlRegex = /cppreference\.com\/w\/[^\s]+/g;
4747
const match = title.match(urlRegex);
4848
return match ? match[0] : null;
4949
}

0 commit comments

Comments
 (0)