Skip to content

Commit

Permalink
fix(worker): remove trailing '=' from working dir (#3851)
Browse files Browse the repository at this point in the history
  • Loading branch information
skeetmtp authored and sguiheux committed Jan 15, 2019
1 parent eda8cae commit 9baacce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/worker/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ func teardownBuildDirectory(wd string) error {
}

func workingDirectory(basedir string, jobInfo *sdk.WorkflowNodeJobRunData, suffixes ...string) string {
var encodedName = base64.StdEncoding.EncodeToString([]byte(jobInfo.NodeJobRun.Job.Job.Action.Name))
var encodedName = base64.RawStdEncoding.EncodeToString([]byte(jobInfo.NodeJobRun.Job.Job.Action.Name))
paths := append([]string{basedir, encodedName}, suffixes...)
dir := path.Join(paths...)

Expand Down

0 comments on commit 9baacce

Please sign in to comment.