Merge branch 'main' into main

This commit is contained in:
Dev-Aman authored and GitHub committed 2025-05-13 16:24:50 +05:45
commit c3f4dc2159
2 files changed
+3 -2

No files matched your search

+2 -2
View File
@@ -1,9 +1,9 @@
{
"owner": {
"username": "knownasnaffy",
"twitter": "dharni_naffy"
"email": "contact@barinderpreet.com"
},
"records": {
"CNAME": "knownasnaffy.github.io"
"URL": "https://barinderpreet.com"
}
}
+1
View File
@@ -286,6 +286,7 @@ t("All files should have valid records", (t) => {
recordKeys.length === 1 || (recordKeys.length === 2 && recordKeys.includes("DS")),
`${file}: NS records cannot be combined with other records, except for DS records`
);
t.true(!data.services, `${file}: Service records cannot be present when NS records are defined`);
}
if (recordKeys.includes("DS")) {
t.true(recordKeys.includes("NS"), `${file}: DS records must be combined with NS records`);