Commit ff9ac83
authored
Fix NoMethodError when diffing manifest for new apps with features (#4941)
The remove_unspecified_app_features method was called without checking
if existing_value was present, causing a NoMethodError when applying
a manifest with features for a new (non-existing) app:
undefined method `slice!' for nil:NilClass
.../space_diff_manifest.rb:220:in `remove_unspecified_app_features'1 parent c8604dc commit ff9ac83
File tree
2 files changed
+7
-3
lines changed- app/actions
- spec/unit/actions
2 files changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
255 | 258 | | |
256 | 259 | | |
257 | 260 | | |
258 | 261 | | |
259 | 262 | | |
260 | 263 | | |
261 | 264 | | |
262 | | - | |
| 265 | + | |
| 266 | + | |
263 | 267 | | |
264 | 268 | | |
265 | 269 | | |
| |||
0 commit comments