Skip to content

Commit

Permalink
making the linter happy
Browse files Browse the repository at this point in the history
Signed-off-by: leec94 <leec94@bu.edu>
  • Loading branch information
leec94 committed Aug 25, 2023
1 parent 31589fc commit 6378983
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/scorecard.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ func RunScorecard(ctx context.Context,

if errors.Is(err, ErrorEmptyRepository) {
return ret, nil
} else if err != nil {
} else if err != nil {
return ScorecardResult{}, err
}
}

defaultBranch, err := repoClient.GetDefaultBranchName()
if err != nil {
Expand Down

0 comments on commit 6378983

Please sign in to comment.