diff --git a/console/commands/bean.go b/console/commands/bean.go index 51e0c22..9ea21d1 100644 --- a/console/commands/bean.go +++ b/console/commands/bean.go @@ -327,7 +327,9 @@ func getImportStr(bc beanCache, m map[string]string) string { sk := sortMap(nm) got := "" for _, k := range sk { - got += "\n\t" + nm[k] + " \"" + k + "\"" + if k != "" { + got += "\n\t" + nm[k] + " \"" + k + "\"" + } } return got