From 19dadc7367936fb588f6f9f325e7f3982a368ec3 Mon Sep 17 00:00:00 2001 From: Aline Abler Date: Thu, 27 Jun 2024 12:27:00 +0200 Subject: [PATCH] Fix lint target in makefile --- Makefile | 5 +---- task/task_test.go | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index c783382..cba94b6 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/task/task_test.go b/task/task_test.go index 7c5d51b..dc986b1 100644 --- a/task/task_test.go +++ b/task/task_test.go @@ -119,7 +119,7 @@ func mrList() []*gitlab.MergeRequest { DetailedMergeStatus: "mergeable", } g := &gitlab.MergeRequest{ - IID: 2, + IID: 2, } return []*gitlab.MergeRequest{f, g} }