mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
basicRequest -> module.requireNative
This commit is contained in:
parent
3bb21b5191
commit
6d85802100
@ -141,8 +141,8 @@ var stdin;
|
||||
process.openStdin = function () {
|
||||
if (stdin) return stdin;
|
||||
|
||||
var net = basicRequire('net'),
|
||||
fs = basicRequire('fs'),
|
||||
var net = module.requireNative('net'),
|
||||
fs = module.requireNative('fs'),
|
||||
fd = process.binding('stdio').openStdin();
|
||||
|
||||
if (process.binding('stdio').isStdinBlocking()) {
|
||||
|
Loading…
Reference in New Issue
Block a user