Skip to content

Commit

Permalink
fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ninadingole committed Sep 11, 2022
1 parent 41fc128 commit 6f696fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ linters:

linters-settings:
cyclop:
max-complexity: 15
max-complexity: 18
varnamelen:
min-name-length: 1
nestif:
Expand Down
2 changes: 1 addition & 1 deletion pkg/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func loadFiles(dirs []string) (map[string][]string, error) {
}

// listTests lists all the tests in the given go test files.
func listTests(files map[string][]string) ([]TestDetail, error) {
func listTests(files map[string][]string) ([]TestDetail, error) { //nolint: gocognit
var tests []TestDetail

for dir, testFiles := range files {
Expand Down

0 comments on commit 6f696fa

Please sign in to comment.