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 11a1036d605..c51054819f7 100644 --- a/src/fs_event_wrap.cc +++ b/src/fs_event_wrap.cc @@ -121,7 +121,7 @@ void FSEventWrap::Initialize(Local<Object> target, Local<FunctionTemplate>(), static_cast<PropertyAttribute>(ReadOnly | DontDelete | v8::DontEnum)); - target->Set(fsevent_string, t->GetFunction()); + target->Set(fsevent_string, t->GetFunction(context).ToLocalChecked()); } |