Skip to content

Commit fcc22d3

Browse files
cjihrigBethGriggs
authored andcommitted
dns: make dns.promises enumerable
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]>
1 parent fa27aac commit fcc22d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/dns.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ bindDefaultResolver(module.exports, getDefaultResolver());
313313
Object.defineProperties(module.exports, {
314314
promises: {
315315
configurable: true,
316-
enumerable: false,
316+
enumerable: true,
317317
get() {
318318
if (promises === null) {
319319
promises = require('internal/dns/promises');

0 commit comments

Comments
 (0)