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 <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
  • Loading branch information
cjihrig authored and BethGriggs committed Apr 4, 2019
1 parent f3d890f commit e58f4eb
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 e58f4eb

Please sign in to comment.