mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-21 17:40:39 +00:00
fix for workspace path .
This commit is contained in:
parent
82ab5cffdd
commit
e68eb6cba4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user