Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: bryans-go <[email protected]>
  • Loading branch information
bryans-go committed Sep 29, 2024
1 parent 6569ce1 commit 2c39a47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/git/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func (s *Service) SetGitConfig(userData *gitprovider.GitUser, providerConfig *gi
}

func setSigningConfig(cfg *ini.File, providerConfig *gitprovider.GitProviderConfig) error {
if providerConfig == nil || *providerConfig.SigningKey != "none" {
if providerConfig == nil || *providerConfig.SigningKey == "none" {
return nil
}

Expand Down

0 comments on commit 2c39a47

Please sign in to comment.