Skip to content

Commit 95fdd49

Browse files
author
TP Honey
committed
rewrite of exec command, use docker runner code
1 parent b4de4da commit 95fdd49

File tree

6 files changed

+344
-272
lines changed

6 files changed

+344
-272
lines changed

drone/exec/env.go

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,3 @@ func prefixedEnviron(environ []string) map[string]string {
6363
}
6464
return envs
6565
}
66-
67-
// helper function combines one or more maps of environment
68-
// variables into a single map.
69-
func combineEnviron(env ...map[string]string) map[string]string {
70-
c := map[string]string{}
71-
for _, e := range env {
72-
for k, v := range e {
73-
c[k] = v
74-
}
75-
}
76-
return c
77-
}

0 commit comments

Comments
 (0)