Skip to content

Commit

Permalink
Satisfied the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
faddat committed Dec 11, 2021
1 parent 27db07b commit 3100b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gaiad/cmd/testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ func calculateIP(ip string, i int) (string, error) {
}

func writeFile(name string, dir string, contents []byte) error {
writePath := filepath.Join(dir)
writePath := dir
file := filepath.Join(writePath, name)

err := tmos.EnsureDir(writePath, 0755)
Expand Down

0 comments on commit 3100b48

Please sign in to comment.