Skip to content

Commit 0257055

Browse files
authored
[BugFix] Open Init windows telemetry not capturing the true default template (#15011)
* [BugFix] Open Init windows telemetry not capturing the true default template * Change files
1 parent a84fd71 commit 0257055

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "prerelease",
3+
"comment": "[BugFix] Open Init windows telemetry not capturing the true default template",
4+
"packageName": "@react-native-windows/cli",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

packages/@react-native-windows/cli/src/commands/initWindows/initWindowsOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const initOptions: CommandOption[] = [
2424
{
2525
name: '--template [string]',
2626
description: 'Specify the template to use',
27-
default: undefined,
27+
default: 'old/uwp-cpp-app',
2828
},
2929
{
3030
name: '--name [string]',

0 commit comments

Comments
 (0)