Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! process: handle --expose-internals during pre-execution
  • Loading branch information
joyeecheung committed Mar 19, 2019
commit 52218203d45bc2367ab4d043e49d9a08037a9d4d
2 changes: 1 addition & 1 deletion lib/internal/bootstrap/loaders.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function NativeModule(id) {
NativeModule.exposeInternals = function() {
for (const [id, mod] of NativeModule.map) {
// Do not expose this to user land even with --expose-internals.
if (id.startsWith('internal/') && id !== loaderId) {
if (id !== loaderId) {
mod.canBeRequiredByUsers = true;
Comment thread
joyeecheung marked this conversation as resolved.
}
}
Expand Down