mirror of https://github.com/vbatts/go-mtree.git
main: len() works on nil now
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
7935b59876
commit
742dd407b4
|
@ -258,7 +258,7 @@ func app() error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if result != nil && len(result) > 0 {
|
||||
if len(result) > 0 {
|
||||
fmt.Printf("%#v\n", result)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue