Skip to content

Commit

Permalink
fix: --minor-version-only option no longer requires `--latest-patch…
Browse files Browse the repository at this point in the history
…` option
  • Loading branch information
mob-sakai committed Aug 30, 2023
1 parent e466509 commit 03d4c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ new Command()
: SearchMode.Archived;

// Group mode.
const groupMode = options.latestPatch
const groupMode = (options.latestPatch || options.minorVersionOnly)
? GroupMode.LatestPatch
: options.oldestPatch
? GroupMode.OldestPatch
Expand Down

0 comments on commit 03d4c2e

Please sign in to comment.