chore: rename nativeRequire to potentiallyRemoteRequire (#15971)

This commit is contained in:
Milan Burda 2018-12-07 03:12:50 +01:00 committed by Jeremy Apthorp
commit 177091ca6f
4 changed files with 9 additions and 9 deletions

View file

@ -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 {