feat: improve list (#786)

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

No files matched your search

+1
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()
}