Skip to content

Commit 37cfc74

Browse files
fix incorrect getter
1 parent 71d8414 commit 37cfc74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/repl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1863,7 +1863,7 @@ module.exports = {
18631863
ObjectDefineProperty(module.exports, 'builtinModules', {
18641864
__proto__: null,
18651865
get: pendingDeprecation ? deprecate(
1866-
() => require(''),
1866+
() => _builtinLibs,
18671867
'repl.builtinModules is deprecated. Check module.builtinModules instead',
18681868
'DEP0190',
18691869
) : () => _builtinLibs,

0 commit comments

Comments
 (0)