Commit c93fcf9
committed
Remove redundant ternary in appendSetupScriptActivity
The ternary branches produced structurally identical activity objects.
Use destructuring + spread to build the activity once, preserving
discriminated-union type safety without duplicating the object literal.1 parent 58f45db commit c93fcf9
1 file changed
+10
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
166 | 167 | | |
167 | 168 | | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
189 | 175 | | |
190 | 176 | | |
| 177 | + | |
191 | 178 | | |
192 | 179 | | |
193 | 180 | | |
| |||
0 commit comments