Skip to content

Commit

Permalink
chore: change var name
Browse files Browse the repository at this point in the history
  • Loading branch information
Bean committed Nov 17, 2023
1 parent e4af89d commit b413cf3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ func main() {
log.Fatal(err)
}
var command []*cli.Command
for fn, item := range schemas {
fileName := fn
schema := item
for key, value := range schemas {
fileName := key
schema := value
name := schema.Name
if name == "" {
name = fileName
Expand Down

0 comments on commit b413cf3

Please sign in to comment.