Skip to content

Commit

Permalink
src: fix indenting of wrap->EmitTraceEventBefore
Browse files Browse the repository at this point in the history
PR-URL: #19340
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
danbev committed Mar 16, 2018
1 parent 69f8523 commit 3802e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/async_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ static void PromiseHook(PromiseHookType type, Local<Promise> promise,
if (type == PromiseHookType::kBefore) {
env->async_hooks()->push_async_ids(
wrap->get_async_id(), wrap->get_trigger_async_id());
wrap->EmitTraceEventBefore();
wrap->EmitTraceEventBefore();
AsyncWrap::EmitBefore(wrap->env(), wrap->get_async_id());
} else if (type == PromiseHookType::kAfter) {
wrap->EmitTraceEventAfter();
Expand Down

0 comments on commit 3802e43

Please sign in to comment.