This commit is contained in:
2025-08-18 20:04:32 +02:00
parent b2425d310b
commit 2ff191fecf
6 changed files with 30 additions and 19 deletions

View File

@@ -56,7 +56,7 @@ func (p *AddCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) s
return subcommands.ExitFailure
}
if err := p.Service.Scan(gameID); err != nil {
if _, err := p.Service.Scan(gameID); err != nil {
fmt.Fprintln(os.Stderr, "error: failed to scan:", err)
return subcommands.ExitFailure
}