Skip to content

Commit 9c2b5ba

Browse files
committed
chore(deps): update misc deps
1 parent 58cdd4f commit 9c2b5ba

File tree

5 files changed

+1702
-2559
lines changed

5 files changed

+1702
-2559
lines changed

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx lint-staged

contacts.mm

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,8 @@
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")) {

0 commit comments

Comments
 (0)