scripts/verify-links: allow all absolute URLs from changesets
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -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' };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user