Skip to content

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
Signed-off-by: Jamie Magee <[email protected]>
  • Loading branch information
JamieMagee committed Dec 3, 2024
1 parent 3746afb commit 06340d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clients/azuredevopsrepo/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (s *searchHandler) buildFilters(request clients.SearchRequest) (map[string]
filters := make(map[string][]string)
query := strings.Builder{}
if request.Query == "" {
return filters, query.String(), fmt.Errorf("%w", errEmptyQuery)
return filters, query.String(), errEmptyQuery
}
query.WriteString(request.Query)
query.WriteString(" ")
Expand Down
3 changes: 1 addition & 2 deletions clients/azuredevopsrepo/search_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ package azuredevopsrepo
import (
"context"

"github.com/ossf/scorecard/v5/clients"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/ossf/scorecard/v5/clients"
)

var _ = Describe("E2E TEST: azuredevopsrepo.searchHandler", func() {
Expand Down

0 comments on commit 06340d0

Please sign in to comment.