Skip to content

Commit 377cf76

Browse files
committed
fix: lint
On-behalf-of: SAP <[email protected]> Signed-off-by: Matthias Bruns <[email protected]>
1 parent 2939604 commit 377cf76

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ format:
8989
check: ## Run golangci-lint.
9090
go tool golangci-lint run --timeout 10m --config .github/config/golangci.yaml $(EFFECTIVE_DIRECTORIES)
9191

92+
.PHONY: check-fix
93+
check-fix: ## Run golangci-lint.
94+
go tool golangci-lint run --fix --timeout 10m --config .github/config/golangci.yaml $(EFFECTIVE_DIRECTORIES)
95+
9296
.PHONY: force-test
9397
force-test:
9498
@go test -vet=off --count=1 $(EFFECTIVE_DIRECTORIES)

cmds/ocm/commands/ocmcmds/common/handlers/comphdlr/typehandler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77

88
"github.com/Masterminds/semver/v3"
99
"github.com/mandelsoft/goutils/errors"
10-
"ocm.software/ocm/api/credentials"
1110

1211
clictx "ocm.software/ocm/api/cli"
12+
"ocm.software/ocm/api/credentials"
1313
"ocm.software/ocm/api/ocm"
1414
"ocm.software/ocm/api/ocm/compdesc"
1515
metav1 "ocm.software/ocm/api/ocm/compdesc/meta/v1"

0 commit comments

Comments
 (0)