We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0ce9cc commit d8ae326Copy full SHA for d8ae326
packages/next-codemod/bin/upgrade.ts
@@ -412,7 +412,7 @@ function isUsingAppDir(projectPath: string): boolean {
412
*/
413
async function suggestTurbopack(packageJson: any): Promise<void> {
414
const devScript: string = packageJson.scripts['dev']
415
- if (devScript && devScript.includes('--turbopack')) return
+ if (devScript?.includes('--turbopack')) return
416
417
const responseTurbopack = await prompts(
418
{
0 commit comments