Skip to content

Commit 8cbbb47

Browse files
danbevFishrock123
authored andcommitted
src: update f function call comment
Commit a01e8bc (src: moving f function call comment, 2016-09-04) moved a comment to be closer to the place in the code it was describing. While working on this there was feedback on the comment itself: https://github.com/nodejs/node/commit/ a01e8bc#comments This PR includes the suggestions in the above comments. PR-URL: #8416 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Franziska Hinkelmann <franzih@chromium.org> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent d536d6d commit 8cbbb47

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/node.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3498,11 +3498,11 @@ void LoadEnvironment(Environment* env) {
34983498
global->Set(FIXED_ONE_BYTE_STRING(env->isolate(), "global"), global);
34993499

35003500
// Now we call 'f' with the 'process' variable that we've built up with
3501-
// all our bindings. Inside bootstrap_node.js we'll take care of
3502-
// assigning things to their places.
3501+
// all our bindings. Inside bootstrap_node.js and internal/process we'll
3502+
// take care of assigning things to their places.
35033503

35043504
// We start the process this way in order to be more modular. Developers
3505-
// who do not like how bootstrap_node.js setups the module system but do
3505+
// who do not like how bootstrap_node.js sets up the module system but do
35063506
// like Node's I/O bindings may want to replace 'f' with their own function.
35073507
Local<Value> arg = env->process_object();
35083508
f->Call(Null(env->isolate()), 1, &arg);

0 commit comments

Comments
 (0)