src: fix indenting of wrap->EmitTraceEventBefore
PR-URL: https://github.com/nodejs/node/pull/19340 Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
69f8523d83
commit
3802e43c0f
@ -312,7 +312,7 @@ static void PromiseHook(PromiseHookType type, Local<Promise> promise,
|
|||||||
if (type == PromiseHookType::kBefore) {
|
if (type == PromiseHookType::kBefore) {
|
||||||
env->async_hooks()->push_async_ids(
|
env->async_hooks()->push_async_ids(
|
||||||
wrap->get_async_id(), wrap->get_trigger_async_id());
|
wrap->get_async_id(), wrap->get_trigger_async_id());
|
||||||
wrap->EmitTraceEventBefore();
|
wrap->EmitTraceEventBefore();
|
||||||
AsyncWrap::EmitBefore(wrap->env(), wrap->get_async_id());
|
AsyncWrap::EmitBefore(wrap->env(), wrap->get_async_id());
|
||||||
} else if (type == PromiseHookType::kAfter) {
|
} else if (type == PromiseHookType::kAfter) {
|
||||||
wrap->EmitTraceEventAfter();
|
wrap->EmitTraceEventAfter();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user