Skip to content

Commit

Permalink
Allow to change the working directory also plugins and services (wood…
Browse files Browse the repository at this point in the history
  • Loading branch information
6543 committed Sep 5, 2024
1 parent adeac74 commit 2d8be77
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pipeline/frontend/yaml/compiler/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,7 @@ func (c *Compiler) createProcess(container *yaml_types.Container, stepType backe
detached = true
}

if !detached || len(container.Commands) != 0 {
workingDir = c.stepWorkingDir(container)
}
workingDir = c.stepWorkingDir(container)

getSecretValue := func(name string) (string, error) {
name = strings.ToLower(name)
Expand Down

0 comments on commit 2d8be77

Please sign in to comment.