We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1894415 commit e2c882cCopy full SHA for e2c882c
src/request/url/parser/get_records.ts
@@ -22,7 +22,7 @@ export default function getRecords(url : URL) : DnsRecord[] {
22
throw new MissingURLParameterKeyError(key)
23
}
24
25
- if (records.length) {
+ if (records.length === 0) {
26
throw new MissingURLParameterValueError(key)
27
28
0 commit comments