Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module: lazy load 'getOptionValue' in initializeLoader #33212

Closed

Conversation

himself65
Copy link
Member

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added the process Issues and PRs related to the process subsystem. label May 2, 2020
@nodejs-github-bot
Copy link
Collaborator

@juanarbol juanarbol requested a review from guybedford May 4, 2020 02:59
@HarshithaKP
Copy link
Member

@himself65, can you please explain why this change is made ?

Copy link
Member

@addaleax addaleax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

If nothing else, this enables loading this module during early bootstrapping

@himself65
Copy link
Member Author

@himself65, can you please explain why this change is made ?

addaleax has said what I wanna say

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@himself65 himself65 self-assigned this May 6, 2020
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@richardlau
Copy link
Member

If nothing else, this enables loading this module during early bootstrapping

If whoever lands this could add some words to the commit description paraphrasing the above (the "why this is being done") it would be very helpful for anyone browsing through commit history later on.

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

addaleax pushed a commit that referenced this pull request May 7, 2020
This enables loading this module during early bootstrapping.

PR-URL: #33212
Reviewed-By: Guy Bedford <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
@addaleax
Copy link
Member

addaleax commented May 7, 2020

Landed in f153081

@addaleax addaleax closed this May 7, 2020
codebytere pushed a commit that referenced this pull request May 11, 2020
This enables loading this module during early bootstrapping.

PR-URL: #33212
Reviewed-By: Guy Bedford <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
@codebytere codebytere mentioned this pull request May 18, 2020
@codebytere
Copy link
Member

@himself65 this change can't currently apply to v12.x since a6b030d was landed with alterations on the v12.x branch: 02c4d27.

I'm going to tag it for now with dont-land but if you feel like trying to make it work you're welcome to :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
process Issues and PRs related to the process subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants