From fceb1eb4e6be044931fd0674fa587f9702dd1f65 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 18 Oct 2024 11:23:44 +0300 Subject: refactor --- internal/queue/queue.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'internal/queue/queue.go') diff --git a/internal/queue/queue.go b/internal/queue/queue.go index caf4f2e..0724f7b 100644 --- a/internal/queue/queue.go +++ b/internal/queue/queue.go @@ -66,7 +66,11 @@ func queuePlatforms(args config.Args) error { for filePath := range ch { for platform := range args.Platforms { - if newShareTags(args, filePath).IsExcluded(platform) { + excluded, err := excludedByTags(args, filePath, platform) + if err != nil { + return err + } + if excluded { log.Println("Not queueing entry", filePath, "to platform", platform, "as it is excluded") continue } -- cgit v1.2.3