Skip to content

Commit 64d1f77

Browse files
committed
simple code
1 parent 7e8ee7e commit 64d1f77

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

cmd/dynamic.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ func flagsToRequest(flags map[string][]string, req *registry.Value) (map[string]
411411
// so we do that here
412412
if strings.Contains(key, "_") {
413413
parts := strings.Split(key, "_")
414-
for i, _ := range parts {
414+
for i := range parts {
415415
pToCreate := strings.Join(parts[0:i], ".")
416416
if i > 0 && i < len(parts) && !result.Has(pToCreate) {
417417
result.Set(pToCreate, map[string]interface{}{})

cspell.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"mname",
3333
"mucp",
3434
"muxer",
35+
"objx",
3536
"Orgs",
3637
"osexec",
3738
"outp",
@@ -56,4 +57,4 @@
5657
"Warnf",
5758
"Wrapf"
5859
]
59-
}
60+
}

0 commit comments

Comments
 (0)