mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-13 06:15:34 +00:00
Merge branch 'main' into main
This commit is contained in:
2 files changed
+3
-2
No files matched your search
+2
-2
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "knownasnaffy",
|
||||
"twitter": "dharni_naffy"
|
||||
"email": "contact@barinderpreet.com"
|
||||
},
|
||||
"records": {
|
||||
"CNAME": "knownasnaffy.github.io"
|
||||
"URL": "https://barinderpreet.com"
|
||||
}
|
||||
}
|
||||
@@ -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`);
|
||||
|
||||
Reference in new issue
Block a user