Skip to content

Commit

Permalink
fix: set default image count to 1 (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikoTan authored Feb 15, 2025
1 parent 151a378 commit 52b8331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/command.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function apply(ctx: Context, config: Config) {

const images = await ctx.booru.get({
query,
count: options.count,
count: options.count || 1,
labels:
options.label
?.split(',')
Expand Down

0 comments on commit 52b8331

Please sign in to comment.