mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-23 22:46:53 +00:00
@@ -261,9 +261,7 @@ func wrapStepName(step workflowv1alpha1.StepStatus) string {
|
||||
}
|
||||
|
||||
func unwrapStepName(step string) string {
|
||||
if strings.HasPrefix(step, " ") {
|
||||
step = step[2:]
|
||||
}
|
||||
step = strings.TrimPrefix(step, " ")
|
||||
switch {
|
||||
case strings.HasPrefix(step, emojiSucceed):
|
||||
return strings.TrimPrefix(step, emojiSucceed)
|
||||
|
||||
@@ -461,7 +461,7 @@ func (w *WorkflowArgs) selectWorkflowStep() error {
|
||||
}
|
||||
}
|
||||
if len(stepsKey) == 0 {
|
||||
return fmt.Errorf("Workflow is not start")
|
||||
return fmt.Errorf("workflow is not start")
|
||||
}
|
||||
|
||||
prompt := &survey.Select{
|
||||
|
||||
Reference in New Issue
Block a user