Skip to content

Commit

Permalink
Fix bug in getMappedName()
Browse files Browse the repository at this point in the history
  • Loading branch information
nomeguy committed Oct 6, 2023
1 parent d115a54 commit c97000d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion run/util_path.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ func getMappedName(name string) string {
if name == k {
return v
}
} else {
}
}
for k, v := range appMap {
if v == "cc" {
name = strings.Replace(name, k, v, 1)
return name
}
Expand Down

0 comments on commit c97000d

Please sign in to comment.