dungeon-studio / collection-server

Static Resource Server for application/vnd.collection+json
MIT License
1 stars 0 forks source link

Handle empty directories #2

Closed alunduil closed 6 years ago

alunduil commented 7 years ago

When running the service with an empty directory we get empty 500s. This is due to foldl1 being passed an empty list due to the empty directory.

alunduil commented 6 years ago

The current codebase handles empty directories just fine. Closing this issue.