Skip to content

Commit

Permalink
fix: prompt checks for git credentials storage was case-sensitive (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
benPearce1 authored Aug 10, 2023
1 parent 24497e5 commit c9a5817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/project/convert/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ func PromptForConfigAsCode(opts *ConvertOptions) (cmd.Dependable, error) {
opts.GitStorage.Value = selectedOption.Value
}

if opts.GitStorage.Value == GitStorageLibrary {
if strings.EqualFold(opts.GitStorage.Value, GitStorageLibrary) {
err := promptLibraryGitCredentials(opts, opts.GetAllGitCredentialsCallback)
if err != nil {
return nil, err
Expand Down

0 comments on commit c9a5817

Please sign in to comment.