Skip to content
Merged
Changes from 1 commit
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
5 changes: 3 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,8 @@ export async function create({
`4. ${color.cyan(`${pkgManager} run dev`)}`,
];

note(nextSteps.map((step) => color.reset(step)).join('\n'), 'Next steps');
nextSteps.length &&
note(nextSteps.map((step) => color.reset(step)).join('\n'), 'Next steps');
Comment thread
chenjiahan marked this conversation as resolved.
Outdated

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