summaryrefslogtreecommitdiff
path: root/internal/queue/queue.go
diff options
context:
space:
mode:
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
}