Skip to content

Commit e6a39f9

Browse files
committed
Fix CI error
1 parent f870681 commit e6a39f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/create-react-app/createReactApp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ function run(
457457
}
458458

459459
// TODO: Remove with next major release.
460-
if (!supportsTemplates && template.includes('typescript')) {
460+
if (!supportsTemplates && (template || '').includes('typescript')) {
461461
allDependencies.push(
462462
'@types/node',
463463
'@types/react',

0 commit comments

Comments
 (0)