mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-01-23 02:35:10 +00:00
update
This commit is contained in:
parent
b701d9f094
commit
5d5c77897e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue