Skip to content

Commit

Permalink
Merge pull request #7 from vshn/fix/makefile
Browse files Browse the repository at this point in the history
Fix lint target in makefile
  • Loading branch information
HappyTetrahedron authored Jun 27, 2024
2 parents 22a6f4a + 19dadc7 commit c1b835b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@ vet: ## Run go vet against code
go vet ./...

.PHONY: lint
lint: fmt vet generate manifests ## All-in-one linting
@echo 'Checking kustomize build ...'
$(KUSTOMIZE) build config/crd -o /dev/null
$(KUSTOMIZE) build config/default -o /dev/null
lint: fmt vet generate ## All-in-one linting
@echo 'Check for uncommitted changes ...'
git diff --exit-code

Expand Down
2 changes: 1 addition & 1 deletion task/task_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func mrList() []*gitlab.MergeRequest {
DetailedMergeStatus: "mergeable",
}
g := &gitlab.MergeRequest{
IID: 2,
IID: 2,
}
return []*gitlab.MergeRequest{f, g}
}
Expand Down

0 comments on commit c1b835b

Please sign in to comment.