src: split property helpers from node::Environment

PR-URL: https://github.com/nodejs/node/pull/44056
Backport-PR-URL: https://github.com/nodejs/node/pull/44251
Refs: https://github.com/nodejs/node/issues/42528
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Feng Yu <F3n67u@outlook.com>
This commit is contained in:
legendecas authored and Ruy Adorno committed 2022-08-21 16:00:39 -04:00
1 parent e028edb17d
commit 68ee8e9089
79 files changed
+1468 -1256

No files matched your search

+1 -1
View File
@@ -135,7 +135,7 @@ MaybeLocal<Object> CreateProcessObject(Environment* env) {
// process._rawDebug: may be overwritten later in JS land, but should be
// available from the beginning for debugging purposes
env->SetMethod(process, "_rawDebug", RawDebug);
SetMethod(context, process, "_rawDebug", RawDebug);
return scope.Escape(process);
}