Skip to content

Commit

Permalink
dns: make dns.promises enumerable
Browse files Browse the repository at this point in the history
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 Apr 8, 2019
1 parent d3c1de3 commit ac12109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dns.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit ac12109

Please sign in to comment.