Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ export async function create({
}
}

const nextSteps = noteInformation?.length
const nextSteps = noteInformation
? noteInformation
: [
`1. ${color.cyan(`cd ${targetDir}`)}`,
Expand All @@ -311,7 +311,9 @@ export async function create({
`4. ${color.cyan(`${pkgManager} run dev`)}`,
];

note(nextSteps.map((step) => color.reset(step)).join('\n'), 'Next steps');
if (nextSteps.length) {
note(nextSteps.map((step) => color.reset(step)).join('\n'), 'Next steps');
}

outro('All set, happy coding!');
}
Expand Down