Ensure empty layers are written to the index file

Update the `LayersIndex` class to ensure that layers that do not contain
content are still written.

Closes gh-20858
This commit is contained in:
Phillip Webb
2020-04-06 17:29:59 -07:00
parent ef9611e30e
commit 464c15e52c
4 changed files with 5 additions and 3 deletions