fix for workspace path .

This commit is contained in:
Brad Rydzewski 2019-06-10 07:31:16 -07:00
parent 82ab5cffdd
commit e68eb6cba4

View File

@ -61,6 +61,9 @@ func Convert(d []byte) ([]byte, error) {
pipeline.Workspace.Base = from.Workspace.Base
pipeline.Workspace.Path = from.Workspace.Path
if pipeline.Workspace.Path == "." {
pipeline.Workspace.Path = ""
}
if len(from.Clone.Containers) != 0 {
pipeline.Clone.Disable = true