diff options
Diffstat (limited to 'internal/queue/queue.go')
| -rw-r--r-- | internal/queue/queue.go | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/internal/queue/queue.go b/internal/queue/queue.go index aa63c71..832b877 100644 --- a/internal/queue/queue.go +++ b/internal/queue/queue.go @@ -77,8 +77,12 @@ func queuePlatforms(args config.Args) error { if err != nil { return err } - for platform := range args.Platforms { - excluded, err := en.PlatformExcluded(args, platform) + for platformStr := range args.Platforms { + platform, err := platforms.New(platformStr) + if err != nil { + return err + } + excluded, err := en.PlatformExcluded(args, platform.String()) if err != nil { return err } |
