From 6fc3d1e98fe28d7e561a4ebe1d00938f8346fae1 Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 11 Mar 2024 15:42:09 +0100 Subject: [PATCH] fix: lint --- pkg/models/task_collection_filter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/models/task_collection_filter.go b/pkg/models/task_collection_filter.go index 3195fa4df..560094bf9 100644 --- a/pkg/models/task_collection_filter.go +++ b/pkg/models/task_collection_filter.go @@ -154,7 +154,7 @@ func getTaskFiltersFromFilterString(filter string) (filters []*taskFilter, err e filter = strings.ReplaceAll(filter, " in ", " ?= ") - // Replaces all occurences with in with a string so that it passes the filter + // Replaces all occurrences with in with a string so that it passes the filter pattern := `\?=\s+([^&|]+)` re := regexp.MustCompile(pattern)