Skip to content
Permalink
Browse files

dns: make dns.promises enumerable

PR-URL: #26592
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
  • Loading branch information...
cjihrig authored and BethGriggs committed Mar 27, 2019
1 parent d3c1de3 commit ac12109d1422eddc24de7a734a515552bab6ba82
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/dns.js
@@ -316,7 +316,7 @@ bindDefaultResolver(module.exports, getDefaultResolver());
Object.defineProperties(module.exports, {
promises: {
configurable: true,
enumerable: false,
enumerable: true,
get() {
if (promises === null) {
promises = require('internal/dns/promises');

0 comments on commit ac12109

Please sign in to comment.
You can’t perform that action at this time.