Commit da1d26e
authored
Fix handling of packages with no planned components. (input-output-hk#110)
If a package is local to the project, but none of the components are in the plan, then there will be an empty `components` attribute and no `component-name`. Currently this causes an error as we look for a `component-name` when the `components` attribute is empty. This change will make it so that we only look for the `component-name` when there is no `components` attribute at all.1 parent 41672c9 commit da1d26e
1 file changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
268 | 273 | | |
269 | 274 | | |
270 | 275 | | |
| |||
0 commit comments