refactor: clean up Node.js cli arg parsing (#39465)
* refactor: clean up Node.js arg parsing * chore: feedback from review
This commit is contained in:
parent
1d20ec5b99
commit
22429e2112
4 changed files with 32 additions and 59 deletions
|
@ -92,7 +92,7 @@ class NodeBindings {
|
|||
// Setup V8, libuv.
|
||||
void Initialize(v8::Local<v8::Context> context);
|
||||
|
||||
void SetNodeCliFlags();
|
||||
std::vector<std::string> ParseNodeCliFlags();
|
||||
|
||||
// Create the environment and load node.js.
|
||||
node::Environment* CreateEnvironment(v8::Handle<v8::Context> context,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue