Skip to content

Commit

Permalink
Fix for issue tektoncd#2131
Browse files Browse the repository at this point in the history
  • Loading branch information
othomann committed Mar 2, 2020
1 parent 7d14810 commit 1b5201c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/entrypoint/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func main() {
// strings.Split(..) with an empty string returns an array that contains one element, an empty string.
// The result folder should only be created if there are actual results to defined for the entrypoint.
if len(e.Results) >= 1 && e.Results[0] != "" {
if err := os.MkdirAll(pipeline.DefaultResultPath, 0755); err != nil {
if err := os.MkdirAll(pipeline.DefaultResultPath, 0777); err != nil {
log.Fatalf("Error creating the results directory: %v", err)
}
}
Expand Down

0 comments on commit 1b5201c

Please sign in to comment.