Skip to content

Commit

Permalink
fix: Epic description overridden in no-input mode (#728)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitpokhrel authored Apr 6, 2024
1 parent 53a3d56 commit 6bb4fc6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/cmd/epic/create/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,9 @@ func (cc *createCmd) getQuestions(projectType string) []*survey.Question {
}

if cc.params.NoInput {
cc.params.Body = defaultBody
if cc.params.Body == "" {
cc.params.Body = defaultBody
}
return qs
}

Expand Down

0 comments on commit 6bb4fc6

Please sign in to comment.