Unverified Commit 0a7811ca authored by Jiwon Choi's avatar Jiwon Choi Committed by GitHub

[next-upgrade] misc: update comment (#84727)

Not affect release. Just a follow-up for
https://github.com/vercel/next.js/pull/84726
Improved comment of emphasizing we should set the codemod version to the
canary version for upgrading canary to canary.
parent f4b92044
...@@ -39,6 +39,7 @@ export function onCancel() { ...@@ -39,6 +39,7 @@ export function onCancel() {
* When adding a new codemod, ensure to set the target canary version * When adding a new codemod, ensure to set the target canary version
* instead of the stable version. This is for `@next/codemod upgrade` * instead of the stable version. This is for `@next/codemod upgrade`
* to correctly pick up the codemod for the next pre-release version. * to correctly pick up the codemod for the next pre-release version.
* This is also essential for correctly upgrading from canary to canary.
*/ */
export const TRANSFORMER_INQUIRER_CHOICES = [ export const TRANSFORMER_INQUIRER_CHOICES = [
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment