Skip to content

Commit

Permalink
Fix typos (#122)
Browse files Browse the repository at this point in the history
* Update codesigngroup.go

* Update codesigngroup.go
  • Loading branch information
vipuldelwadia authored Jul 23, 2020
1 parent c806369 commit 53c14b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions codesigndoc/codesigngroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,11 +327,11 @@ func collectExportCodeSignGroups(archive Archive, installedCertificates []certif
if len(certificateOptions) == 1 {
selectedCertificateOption = certificateOptions[0]

fmt.Printf("Codesign Indentity for %s ipa export: %s\n", selectedExportMethod, selectedCertificateOption)
fmt.Printf("Codesign Identity for %s ipa export: %s\n", selectedExportMethod, selectedCertificateOption)
} else {
sort.Strings(certificateOptions)

question := fmt.Sprintf("Select the Codesign Indentity for %s ipa export", selectedExportMethod)
question := fmt.Sprintf("Select the Codesign Identity for %s ipa export", selectedExportMethod)
selectedCertificateOption, err = goinp.SelectFromStringsWithDefault(question, 1, certificateOptions)
if err != nil {
return nil, fmt.Errorf("failed to read input: %s", err)
Expand All @@ -347,7 +347,7 @@ func collectExportCodeSignGroups(archive Archive, installedCertificates []certif
}
}
if selectedCertificate == nil {
return nil, errors.New("failed to find selected Codesign Indentity")
return nil, errors.New("failed to find selected Codesign Identity")
}

// Select Profiles
Expand Down
6 changes: 3 additions & 3 deletions codesigndocuitests/codesigngroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,11 @@ func collectExportCodeSignGroups(testRunner IOSTestRunner, installedCertificates
if len(certificateOptions) == 1 {
selectedCertificateOption = certificateOptions[0]

fmt.Printf("Codesign Indentity for %s signing: %s\n", selectedCodeSignMethod, selectedCertificateOption)
fmt.Printf("Codesign Identity for %s signing: %s\n", selectedCodeSignMethod, selectedCertificateOption)
} else {
sort.Strings(certificateOptions)

question := fmt.Sprintf("Select the Codesign Indentity for %s method", selectedCodeSignMethod)
question := fmt.Sprintf("Select the Codesign Identity for %s method", selectedCodeSignMethod)
selectedCertificateOption, err = goinp.SelectFromStringsWithDefault(question, 1, certificateOptions)
if err != nil {
return nil, fmt.Errorf("failed to read input: %s", err)
Expand All @@ -262,7 +262,7 @@ func collectExportCodeSignGroups(testRunner IOSTestRunner, installedCertificates
}
}
if selectedCertificate == nil {
return nil, errors.New("failed to find selected Codesign Indentity")
return nil, errors.New("failed to find selected Codesign Identity")
}

// Select Profiles
Expand Down

0 comments on commit 53c14b0

Please sign in to comment.