diff options
Diffstat (limited to 'src/fs_event_wrap.cc')
-rw-r--r-- | src/fs_event_wrap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs_event_wrap.cc b/src/fs_event_wrap.cc index acdaff586ce..b5807dd3ffc 100644 --- a/src/fs_event_wrap.cc +++ b/src/fs_event_wrap.cc @@ -122,7 +122,7 @@ void FSEventWrap::Initialize(Local<Object> target, target->Set(env->context(), fsevent_string, - t->GetFunction(context).ToLocalChecked()).FromJust(); + t->GetFunction(context).ToLocalChecked()).Check(); } |