Skip to content

Commit ac12109

Browse files
cjihrigBethGriggs
authored andcommitted
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>
1 parent d3c1de3 commit ac12109

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
@@ -316,7 +316,7 @@ bindDefaultResolver(module.exports, getDefaultResolver());
316316
Object.defineProperties(module.exports, {
317317
promises: {
318318
configurable: true,
319-
enumerable: false,
319+
enumerable: true,
320320
get() {
321321
if (promises === null) {
322322
promises = require('internal/dns/promises');

0 commit comments

Comments
 (0)