summaryrefslogtreecommitdiff
path: root/internal/queue/queue.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-10-18 11:23:44 +0300
committerPaul Buetow <paul@buetow.org>2024-10-18 11:23:44 +0300
commitfceb1eb4e6be044931fd0674fa587f9702dd1f65 (patch)
treea9a51a8b8b914bdf5dbe5a87555eb3c6bede026a /internal/queue/queue.go
parent564e56404e5aecee3924e957adbe95bbb5880676 (diff)
refactor
Diffstat (limited to 'internal/queue/queue.go')
-rw-r--r--internal/queue/queue.go6
1 files changed, 5 insertions, 1 deletions
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
}