mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-07 15:00:12 +02:00
clean: remove unused code (#1112)
This commit is contained in:
parent
b477ffa095
commit
7a2b332554
internal/pipe
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user