Skip to content

Commit 8c38701

Browse files
committed
Fix CI error
1 parent 23140a3 commit 8c38701

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
@@ -466,7 +466,7 @@ function run(
466466
}
467467

468468
// TODO: Remove with next major release.
469-
if (!supportsTemplates && template.includes('typescript')) {
469+
if (!supportsTemplates && (template || '').includes('typescript')) {
470470
allDependencies.push(
471471
'@types/node',
472472
'@types/react',

0 commit comments

Comments
 (0)