mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 03:41:01 +00:00
nit: compiler.Compile explizite init Environment map
This commit is contained in:
parent
d59bc64823
commit
6eafb37aba
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ func (c *Compiler) Compile(conf *yaml_types.Workflow) (*backend_types.Config, er
|
|||
Name: defaultCloneName,
|
||||
Image: cloneImage,
|
||||
Settings: cloneSettings,
|
||||
Environment: map[string]any{},
|
||||
Environment: make(map[string]any),
|
||||
}
|
||||
for k, v := range c.cloneEnv {
|
||||
container.Environment[k] = v
|
||||
|
|
Loading…
Reference in a new issue