Skip to content

Commit

Permalink
Feature: Case insensitive provider search
Browse files Browse the repository at this point in the history
  • Loading branch information
PrashamTrivedi committed Aug 4, 2022
1 parent ec97069 commit 3937114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func GetProviderByName(providerName string) (GitProvider, int) {
readGitProviders()
}
for index, provider := range currentProviders {
if provider.Name == providerName {
if strings.EqualFold(provider.Name, providerName) {
providerToReturn = provider
indexToReturn = index
break
Expand Down

0 comments on commit 3937114

Please sign in to comment.