mirror of
https://github.com/tendermint/tendermint.git
synced 2026-10-01 04:05:45 +00:00
fix lint failures with 1.31 (#5489)
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ func makePathname() string {
|
||||
}
|
||||
// fmt.Println(p)
|
||||
sep := string(filepath.Separator)
|
||||
return strings.Replace(p, sep, "_", -1)
|
||||
return strings.ReplaceAll(p, sep, "_")
|
||||
}
|
||||
|
||||
func randPort() int {
|
||||
|
||||
Reference in New Issue
Block a user