Skip to content

Commit

Permalink
Add DarwinExtensionTGZ filter (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhoefler authored Nov 8, 2022
1 parent 5d1663f commit e1e13a7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/cmd/api_discover.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,12 @@ func discover(
}
return in
},
"DarwinExtensionTGZ": func(in string) string {
if tool.OS == "darwin" {
return ".tgz"
}
return in
},
"DarwinMacOS": func(in string) string {
return strings.Replace(in, "darwin", "macOS", 1)
},
Expand Down

0 comments on commit e1e13a7

Please sign in to comment.