Skip to content

Commit e514d23

Browse files
authored
fix: case senstive framework names (#120)
Fixes #119 #116 make the names of the framework uppercase, but the default string was still 'react' and `getFrameWorkByName` is case sensitive. Build and run the cli, and check the results vs `pnpm create [email protected]` (currrent latest)
1 parent eb652bd commit e514d23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cta-cli/src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export function cli({
191191
}
192192
return value
193193
},
194-
defaultFramework || 'react',
194+
defaultFramework || 'React',
195195
)
196196
}
197197

0 commit comments

Comments
 (0)