Skip to content

Commit

Permalink
chore: ignore deprecated strings.Title warn
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
  • Loading branch information
caarlos0 committed May 10, 2022
1 parent 8ee53b6 commit f83efdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pipe/brew/brew.go
Expand Up @@ -410,5 +410,5 @@ func formulaNameFor(name string) string {
name = strings.ReplaceAll(name, "_", " ")
name = strings.ReplaceAll(name, ".", "_")
name = strings.ReplaceAll(name, "@", "AT")
return strings.ReplaceAll(strings.Title(name), " ", "")
return strings.ReplaceAll(strings.Title(name), " ", "") // nolint:staticcheck
}

0 comments on commit f83efdb

Please sign in to comment.