feat: improve list (#786)

This commit is contained in:
Ryan
2021-08-30 15:38:03 +00:00
committed by GitHub
parent de44a505da
commit 37aaec81f4
3 changed files with 59 additions and 19 deletions

View File

@@ -186,6 +186,7 @@ func NewWorkflowPlanner(path string, noWorkflowRecurse bool) (WorkflowPlanner, e
return nil, err
}
workflow.File = wf.workflowFileInfo.Name()
if workflow.Name == "" {
workflow.Name = wf.workflowFileInfo.Name()
}