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 9da69e4 commit f4dfe2dCopy full SHA for f4dfe2d
src/index.ts
@@ -302,7 +302,7 @@ export async function create({
302
}
303
304
305
- const nextSteps = noteInformation?.length
+ const nextSteps = noteInformation
306
? noteInformation
307
: [
308
`1. ${color.cyan(`cd ${targetDir}`)}`,
@@ -311,7 +311,9 @@ export async function create({
311
`4. ${color.cyan(`${pkgManager} run dev`)}`,
312
];
313
314
- note(nextSteps.map((step) => color.reset(step)).join('\n'), 'Next steps');
+ if (nextSteps.length) {
315
+ note(nextSteps.map((step) => color.reset(step)).join('\n'), 'Next steps');
316
+ }
317
318
outro('All set, happy coding!');
319
0 commit comments