diff --git a/interfaces/kits/js/src/dm_native_event.cpp b/interfaces/kits/js/src/dm_native_event.cpp index 205fcddc9022f59780fb73983a7621c8d2628f6a..64e2d3914a6d9b17dcbc60b898fdedacc4e53533 100644 --- a/interfaces/kits/js/src/dm_native_event.cpp +++ b/interfaces/kits/js/src/dm_native_event.cpp @@ -19,7 +19,7 @@ using namespace OHOS::DistributedHardware; -DmNativeEvent::DmNativeEvent(napi_env env, napi_value thisVar) +DmNativeEvent::DmNativeEvent( napi_env env, napi_value thisVar) { env_ = env; thisVarRef_ = nullptr; @@ -103,4 +103,4 @@ void DmNativeEvent::OnEvent(const std::string &eventType, size_t argc, const nap return; } napi_close_handle_scope(env_, scope); -} \ No newline at end of file +}