-
-
Notifications
You must be signed in to change notification settings - Fork 339
deps,src,test: fixing lint errors #465
Conversation
|
Nice! I didn't see this one before creating my PR, I'll rebase my changes on this afterwards. |
src/node_api_jsrt.cc
Outdated
| reinterpret_cast<node::async_context*>(async_context_handle); | ||
|
|
||
| // TODO: It'd be nice if we could remove the dependency on v8::* | ||
| // TODO(jithomso): It'd be nice if we could remove the dependency on v8::* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd use your GitHub ID
src/node_api_jsrt.cc
Outdated
| new node::InternalCallbackScope(node::Environment::GetCurrent(env->isolate), | ||
| resource, | ||
| *node_async_context)); | ||
| new node::InternalCallbackScope( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally we use two indents for continuations from the previous line.
test/cctest/node_test_fixture.h
Outdated
| #if ENABLE_TTD_NODE | ||
| context_ = node::NewContext(isolate, false); // TODO: should we support TTD in cctest? | ||
| context_ = node::NewContext(isolate, false); | ||
| // TODO(jithomso): should we support TTD in cctest? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I'd move the comment above the line, also use your GitHub ID
kfarnung
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with minor fixes
a1e0069 to
0b452d0
Compare
|
Done. Waiting on the node pump to complete before I finish this PR. |
PR-URL: #465 Reviewed-By: Kyle Farnung <kfarnung@microsoft.com> Reviewed-By: Seth Brenith <sethb@microsoft.com>
|
Landed in c057e77 |
PR-URL: nodejs#465 Reviewed-By: Kyle Farnung <kfarnung@microsoft.com> Reviewed-By: Seth Brenith <sethb@microsoft.com>
PR-URL: nodejs#465 Reviewed-By: Kyle Farnung <kfarnung@microsoft.com> Reviewed-By: Seth Brenith <sethb@microsoft.com>
PR-URL: nodejs#465 Reviewed-By: Kyle Farnung <kfarnung@microsoft.com> Reviewed-By: Seth Brenith <sethb@microsoft.com>
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
deps, src, test