Skip to content

Commit

Permalink
add: 注入在本包的多余生成
Browse files Browse the repository at this point in the history
  • Loading branch information
cyz-home committed Nov 13, 2023
1 parent 1a2bee5 commit 497b1b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion console/commands/bean.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 497b1b5

Please sign in to comment.