File tree Expand file tree Collapse file tree 5 files changed +1702
-2559
lines changed
Expand file tree Collapse file tree 5 files changed +1702
-2559
lines changed Original file line number Diff line number Diff line change 1+ _
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ . " $( dirname " $0 " ) /_/husky.sh"
3+
4+ npx lint-staged
Original file line number Diff line number Diff line change 214214 CNPhoneNumber *phone_number =
215215 [CNPhoneNumber phoneNumberWithStringValue: number];
216216 CNLabeledValue *labeled_value =
217- [CNLabeledValue labeledValueWithLabel: CNLabelPhoneNumberMobile value: phone_number];
217+ [CNLabeledValue labeledValueWithLabel: CNLabelPhoneNumberMobile
218+ value: phone_number];
218219 [phone_numbers addObject: labeled_value];
219220 }
220221
@@ -396,13 +397,17 @@ CNAuthorizationStatus AuthStatus() {
396397 if (contact_data.Has (" departmentName" )) {
397398 std::string department_name =
398399 contact_data.Get (" departmentName" ).As <Napi::String>().Utf8Value ();
399- [contact setDepartmentName: [NSString stringWithUTF8String: department_name.c_str ()]];
400+ [contact
401+ setDepartmentName: [NSString
402+ stringWithUTF8String: department_name.c_str ()]];
400403 }
401404
402405 if (contact_data.Has (" organizationName" )) {
403406 std::string organization_name =
404407 contact_data.Get (" organizationName" ).As <Napi::String>().Utf8Value ();
405- [contact setOrganizationName: [NSString stringWithUTF8String: organization_name.c_str ()]];
408+ [contact
409+ setOrganizationName: [NSString stringWithUTF8String: organization_name
410+ .c_str ()]];
406411 }
407412
408413 if (contact_data.Has (" birthday" )) {
You can’t perform that action at this time.
0 commit comments