From 22496aa57eacbead4b996c5bfae134a8b485cff4 Mon Sep 17 00:00:00 2001 From: Jason Song Date: Thu, 5 Jan 2023 18:04:23 +0800 Subject: [PATCH] Update models/actions/task.go Co-authored-by: ChristopherHX --- models/actions/task.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/actions/task.go b/models/actions/task.go index d23c3bbea5..7253d8796b 100644 --- a/models/actions/task.go +++ b/models/actions/task.go @@ -496,7 +496,7 @@ func isSubset(set, subset []string) bool { } for _, v := range subset { - if m.Contains(v) { + if !m.Contains(v) { return false } }