Skip to content

Commit

Permalink
fix(output): fixes display list more
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed May 6, 2022
1 parent 5ce9d7d commit 8c0cf6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ async function main() {
type: 'confirm',
name: 'removeAll',
onRender(kleur) {
const displayList = oldVersions.map(
(version) => `${kleur.red(version.raw)}\t(at ${version.dirpath})\n`
);
const displayList = oldVersions
.map((version) => `${kleur.red(version.raw)}\t(at ${version.dirpath})`)
.join('\n');

this.msg = `${kleur.yellow(
'The following Node.js versions will be removed:'
Expand Down

0 comments on commit 8c0cf6c

Please sign in to comment.