Skip to content

Commit 0a7811c

Browse files
authored
[next-upgrade] misc: update comment (#84727)
Not affect release. Just a follow-up for #84726 Improved comment of emphasizing we should set the codemod version to the canary version for upgrading canary to canary.
1 parent f4b9204 commit 0a7811c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/next-codemod/lib/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export function onCancel() {
3939
* When adding a new codemod, ensure to set the target canary version
4040
* instead of the stable version. This is for `@next/codemod upgrade`
4141
* to correctly pick up the codemod for the next pre-release version.
42+
* This is also essential for correctly upgrading from canary to canary.
4243
*/
4344
export const TRANSFORMER_INQUIRER_CHOICES = [
4445
{

0 commit comments

Comments
 (0)