mirror of
https://github.com/tiennm99/is-a-good-dev.git
synced 2026-10-13 08:15:37 +00:00
Update checkRecords.js
This commit is contained in:
1 parent
48ed3dd0af
commit
f724ac89c7
1 file changed
-5
@@ -16,11 +16,6 @@ function checkRecords(data) {
|
||||
return checkIfValidFQDN(data.target[recordType].value);
|
||||
}
|
||||
|
||||
// Check if record name matches file name
|
||||
if (recordType.toLowerCase() === 'a' || recordType.toLowerCase() === 'cname') {
|
||||
if (data.target[recordType].name != /* Put file name value here */) return false;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user