Skip to content

Commit

Permalink
fix: improve files print
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Feb 23, 2023
1 parent c12b228 commit bc9b05a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/version-bump.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export async function versionBump(arg: VersionBumpOptions | string = {}): Promis

function printSummary(operation: Operation) {
console.log()
console.log(` files ${operation.options.files.map(i => c.bold(i)).join(', ')}`)
console.log(` files ${operation.options.files.map(i => c.bold(i)).join('\n ')}`)
if (operation.options.commit)
console.log(` commit ${c.bold(formatVersionString(operation.options.commit.message, operation.state.newVersion))}`)
if (operation.options.tag)
Expand Down

0 comments on commit bc9b05a

Please sign in to comment.