dns: refactor and use validators · nodejs/node@2d409ed · GitHub
Skip to content

Commit 2d409ed

Browse files
VoltrexKeyvadanielleadams
authored andcommitted
dns: refactor and use validators
The logical NOT operator and validators should be used where appropriate. PR-URL: #40022 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Qingyu Deng <i@ayase-lab.com>
1 parent 71a94aa commit 2d409ed

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

lib/internal/dns/promises.js

Lines changed: 11 additions & 10 deletions

0 commit comments

Comments
 (0)