Commit a8a140c
authored
[0.77] Fix
## Description
This PR fixes the issue where telemetry reports the value of the template before it's calculated.
### Type of Change
- Bug fix (non-breaking change which fixes an issue)
### Why
The template default, when no option was provided, is calculated after telemetry records the value, so it was always blank in such cases.
Resolves #14749
### What
Updated `initWindowsOptions` to include the current template default.
## Screenshots
N/A
## Testing
Verified the value appears in the debugger.
## Changelog
Should this change be included in the release notes: _yes_
Fix `init-windows` template default not set for telemetry purposesinit-windows template default not set for telemetry purposes (#14753)1 parent 0d4622e commit a8a140c
File tree
2 files changed
+8
-1
lines changed- change
- packages/@react-native-windows/cli/src/commands/initWindows
2 files changed
+8
-1
lines changedLines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments