chore: rename nativeRequire to potentiallyRemoteRequire (#15971)
This commit is contained in:
parent
442c1b22e3
commit
177091ca6f
4 changed files with 9 additions and 9 deletions
|
@ -16,7 +16,7 @@ exports.getRemoteFor = function (usage) {
|
|||
return remote
|
||||
}
|
||||
|
||||
exports.nativeRequire = function (name) {
|
||||
exports.potentiallyRemoteRequire = function (name) {
|
||||
if (process.sandboxed) {
|
||||
return exports.getRemoteFor(name).require(name)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue