Skip to content

Commit

Permalink
Linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rhurey committed Sep 10, 2024
1 parent e118d0a commit 9cd9952
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions speaker/voice_profile_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,9 @@ func (client VoiceProfileClient) GetAllProfilesAsync(profileType common.VoicePro
outcome <- GetAllProfilesOutcome{Profiles: nil, OperationOutcome: common.OperationOutcome{common.NewCarbonError(uintptr(C.SPXERR_INVALID_ARG))}}
} else {
goProfilesJSON := C.GoString((*C.char)(rawProfileJSON))
splitProfileIds := strings.Split(goProfilesJSON, "|")
profileList := make([]*VoiceProfile, len(splitProfileIds))
for index, id := range splitProfileIds {
splitProfileIDs := strings.Split(goProfilesJSON, "|")
profileList := make([]*VoiceProfile, len(splitProfileIDs))
for index, id := range splitProfileIDs {
profile, err := NewVoiceProfileFromIdAndType(id, profileType)
if err != nil {
outcome <- GetAllProfilesOutcome{Profiles: nil, OperationOutcome: common.OperationOutcome{err}}
Expand Down

0 comments on commit 9cd9952

Please sign in to comment.