Skip to content

lib: include cached modules in module.children

Rodrigo Muino Tomonari requested to merge github/fork/bnoordhuis/fix7131 into master

module.children is supposed to be the list of modules included by this module but lib/module.js failed to update the list when the included module was retrieved from Module._cache.

Fixes: https://github.com/nodejs/node/issues/7131 CI: https://ci.nodejs.org/job/node-test-pull-request/9038/

Merge request reports

Loading