fix syntax

This commit is contained in:
William Harrison
2025-01-13 10:57:41 +08:00
committed by GitHub
parent dbce5c58fc
commit f99b7a1543
+1 -1
View File
@@ -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`);
}
});