Former-commit-id: 5d5c77897e
pull/726/head
Henrique Dias 2017-01-04 18:19:16 +00:00
parent d9d6a2bf44
commit a1be42825b
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ func Pretty(content []byte) (*Content, string, error) {
kind := reflect.ValueOf(data).Kind()
if kind.String() == "invalid" {
if kind == reflect.Invalid {
return &Content{}, "", nil
}