scripts/verify-links: allow all absolute URLs from changesets

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-02-21 20:35:15 +01:00
parent 4a3d434095
commit ea8f7362a1
+3
View File
@@ -78,6 +78,9 @@ async function verifyUrl(basePath, absUrl, docPages) {
}
if (basePath.startsWith('.changeset/')) {
if (absUrl.match(/^https?:\/\//)) {
return undefined;
}
return { url, basePath, problem: 'out-of-changeset' };
}