Commit 71f37c5
authored
refactor: use optional chaining when validating config rules (#18893)
* refactor: use optional chaining when validating config rules
This change reduces the number of "&&" while still keeping the same behavior
* refactor: use optional chaining when validating config rules
* refactor: use optional chaining when validating config rules1 parent 2c2805f commit 71f37c5
1 file changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | 68 | | |
70 | 69 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
| 70 | + | |
75 | 71 | | |
76 | 72 | | |
77 | 73 | | |
| |||
0 commit comments