Skip to content

Commit 3093c0f

Browse files
fix: removed a condition in if for getting app name
1 parent 3e7f9dd commit 3093c0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/app/create.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export default class Create extends BaseCommand<typeof Create> {
9999
) {
100100
const boilerplate = await selectedBoilerplate();
101101

102-
if (boilerplate && boilerplate.name && boilerplate.link) {
102+
if (boilerplate && boilerplate?.link) {
103103
this.sharedConfig.boilerplateName = boilerplate.name
104104
.toLowerCase()
105105
.replace(/ /g, "-");

0 commit comments

Comments
 (0)