mirror of
https://github.com/vbatts/go-mtree.git
synced 2024-11-15 05:08:40 +00:00
main: len() works on nil now
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
7935b59876
commit
742dd407b4
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ func app() error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if result != nil && len(result) > 0 {
|
if len(result) > 0 {
|
||||||
fmt.Printf("%#v\n", result)
|
fmt.Printf("%#v\n", result)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue