mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-08-05 12:23:31 +00:00
fix syntax
This commit is contained in:
@@ -98,7 +98,7 @@ t("All files should have valid record types", (t) => {
|
||||
t.true(recordKeys.includes("NS"), `${file}: DS records must be combined with NS records`);
|
||||
}
|
||||
|
||||
if (recordKeys.includes("URL") {
|
||||
if (recordKeys.includes("URL")) {
|
||||
t.true(!recordKeys.includes("A") && !recordKeys.includes("AAAA") && !recordKeys.includes("CNAME"), `${file}: URL records cannot be combined with A, AAAA, or CNAME records`);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user