Skip to content

Commit 4d36e93

Browse files
fix: lint
1 parent 0030dae commit 4d36e93

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@ migrate:
77
go run cmd/db/main.go -migrate
88

99
lint:
10-
go install github.com/golangci/golangci-lint/cmd/[email protected]
1110
golangci-lint run ./...
1211

1312
lint-fix:
1413
go mod tidy
15-
go install github.com/golangci/golangci-lint/cmd/[email protected]
1614
golangci-lint run --fix ./...
1715

1816
build:

targets/targets_def.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ func (def *TargetsDef) validateSHA(repoURL string) error {
167167
log.Debugf("Listing tags...")
168168
tags, err = ListTags(repoURL)
169169
if err != nil {
170-
return fmt.Errorf("Could not list tags from %s: %w", repoURL, err)
170+
return fmt.Errorf("could not list tags from %s: %w", repoURL, err)
171171
}
172172
} else {
173173
tags = make(map[string]string)

0 commit comments

Comments
 (0)