Skip to content

Commit

Permalink
fix: remove unnecessary line break in prompt (#70933)
Browse files Browse the repository at this point in the history
Unnecessary line break after `?`

Current:

```
$ ... upgrade
? 
The following codemods are recommended for your upgrade. Would you like to apply them?
```

Expected:

```
$ ... upgrade
? The following codemods are recommended for your upgrade. Would you like to apply them?
```

![CleanShot 2024-10-08 at 05 23
04](https://github.com/user-attachments/assets/985d18a9-3907-4bec-a3bb-315a5119fe10)

---------

Co-authored-by: Zack Tanner <1939140+ztanner@users.noreply.github.com>
  • Loading branch information
devjiwonchoi and ztanner authored Oct 8, 2024
1 parent d866342 commit 97a2f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next-codemod/bin/upgrade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ async function suggestCodemods(
{
type: 'multiselect',
name: 'codemods',
message: `\nThe following ${chalk.blue('codemods')} are recommended for your upgrade. Would you like to apply them?`,
message: `The following ${chalk.blue('codemods')} are recommended for your upgrade. Select the ones to apply.`,
choices: relevantCodemods.reverse().map(({ title, value, version }) => {
return {
title: `(v${version}) ${value}`,
Expand Down

0 comments on commit 97a2f1e

Please sign in to comment.