Skip to content

Commit

Permalink
style(cli): fix code format
Browse files Browse the repository at this point in the history
  • Loading branch information
hasundue committed Oct 22, 2023
1 parent df4bb40 commit b3d95bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,9 @@ function _summary(
}
const groups = sequence.commits.map((commit) => commit.group).join(", ");
const full = _formatPrefix(options.prefix) + `Update ${groups}`;
return (full.length <= 50) ? full : _formatPrefix(options.prefix) + "Update dependencies";
return (full.length <= 50)
? full
: _formatPrefix(options.prefix) + "Update dependencies";
}

function _report(sequence: GitCommitSequence): string {
Expand Down

0 comments on commit b3d95bf

Please sign in to comment.