Skip to content

Commit

Permalink
Update library/repo.go
Browse files Browse the repository at this point in the history
Co-authored-by: Jacob Floyd <[email protected]>
  • Loading branch information
ecrupper and cognifloyd authored Oct 19, 2023
1 parent de9fdd1 commit 35f222c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ func (r *Repo) GetPreviousName() string {
// GetApproveForkBuild returns the ApproveForkBuild field.
//
// When the provided Repo type is nil, or the field within
//  the type is nil, it returns the zero value for the field.
// the type is nil, it returns the zero value for the field.
func (r *Repo) GetApproveForkBuild() string {
// return zero value if Repo type or ApproveForkBuild field is nil
if r == nil || r.ApproveForkBuild == nil {
Expand Down

0 comments on commit 35f222c

Please sign in to comment.