main: len() works on nil now

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2022-04-03 22:34:48 -04:00
parent 7935b59876
commit 742dd407b4
Signed by: vbatts
GPG Key ID: 10937E57733F1362
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}