This commit is contained in:
Henrique Dias committed 2017-01-04 18:17:47 +00:00
1 parent edccade28f
commit b701d9f094
3 files changed
+8 -1

No files matched your search

+4
View File
@@ -36,6 +36,10 @@ func Pretty(content []byte) (*Content, string, error) {
kind := reflect.ValueOf(data).Kind()
if kind.String() == "invalid" {
return &Content{}, "", nil
}
object := new(Block)
object.Type = objectType
object.Name = mainName