Error when there is any directory with no file
kevin-lee opened this issue · comments
Bug
Summary
Error when there is any empty directory.
Project Details
Version: 0.1.1
Description
If the directory to push to gh-pages
has any directory with no file, github4s fails to commit and push a commit tree with an error message like
{
"message" : "Invalid tree info",
"documentation_url" : "https://developer.github.com/v3/git/trees/#create-a-tree"
}
The directory may have other sub-directories but no files have the same issue.
e.g.)
a/b1/file-b1
b2/c/file-b2
file-a1
This causes failure due to b2
having no file but only the directory named c
.