Make linter happy

This commit is contained in:
Matt Crocker 2017-10-23 22:58:43 -07:00
parent c5914516c8
commit 77a26882a3

View file

@ -80,9 +80,10 @@ class EventEmitter : public Wrappable<T> {
v8::Locker locker(isolate());
v8::HandleScope handle_scope(isolate());
v8::Local<v8::Object> wrapper = GetWrapper();
if (wrapper.IsEmpty())
if (wrapper.IsEmpty()) {
return false;
v8::Local<v8::Object> event = internal::CreateJSEvent(
}
v8::Local<v8::Object> event = internal::CreateJSEvent(
isolate(), wrapper, sender, message);
return EmitWithEvent(name, event, args...);
}