Skip to content

Commit

Permalink
fix: setting up working directory with atomic instructions (#5726)
Browse files Browse the repository at this point in the history
  • Loading branch information
rangoo94 authored Aug 5, 2024
1 parent ec4a6a6 commit 03ab51c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/testworkflow-init/orchestration/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ func (c *setup) SetWorkingDir(workingDir string) {
} else {
err = os.MkdirAll(wd, 0755)
}
err = os.Chdir(wd)

if err != nil {
output.Std.Direct().Warnf("warn: error using %s as working directory: %s\n", workingDir, err.Error())
Expand Down

0 comments on commit 03ab51c

Please sign in to comment.