1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-07 15:00:12 +02:00

clean: remove unused code ()

This commit is contained in:
Grachev Mikhail 2019-08-13 16:24:17 +03:00 committed by Carlos Alexandro Becker
parent b477ffa095
commit 7a2b332554
3 changed files with 1 additions and 4 deletions

@ -249,7 +249,7 @@ func setEnv(env map[string]string) {
}
func unsetEnv(env map[string]string) {
for k, _ := range env {
for k := range env {
os.Unsetenv(k)
}
}

@ -589,7 +589,6 @@ func TestBuildCommand(t *testing.T) {
images := []string{"goreleaser/test_build_flag", "goreleaser/test_multiple_tags"}
tests := []struct {
name string
images []string
flags []string
expect []string
}{

@ -35,10 +35,8 @@ func Test_awsSession(t *testing.T) {
tests := []struct {
name string
args args
wantValidSession bool
want *session.Session
before func()
after func()
expectToken string
endpoint string
S3ForcePathStyle bool