mirror of
https://github.com/gtsteffaniak/filebrowser.git
synced 2026-11-26 16:39:41 -05:00
update
Former-commit-id: 5d5c77897e04cbfcb5cf6652dc2d51ed3f192b8c
This commit is contained in:
1 parent
d9d6a2bf44
commit
a1be42825b
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user