diff options
| author | Paul Buetow <paul@buetow.org> | 2024-10-18 11:23:44 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-10-18 11:23:44 +0300 |
| commit | fceb1eb4e6be044931fd0674fa587f9702dd1f65 (patch) | |
| tree | a9a51a8b8b914bdf5dbe5a87555eb3c6bede026a /internal/queue/queue.go | |
| parent | 564e56404e5aecee3924e957adbe95bbb5880676 (diff) | |
refactor
Diffstat (limited to 'internal/queue/queue.go')
| -rw-r--r-- | internal/queue/queue.go | 6 |
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 } |
