Commit 10c0e18
fix: use nullish coalescing assignment (??=) for feature flag setup
Use ??= instead of ||= for initializing Vaadin.featureFlags objects.
This is more semantically correct as it only assigns when the value
is nullish (null/undefined) rather than any falsy value, preventing
accidental overwrites of existing objects.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 88670f0 commit 10c0e18
File tree
2 files changed
+4
-4
lines changed- dev
- packages/breadcrumb/test
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments