ankitpokhrel / jira-cli

Functions prefixed with Get should return a value RVV-A0006
Anti-pattern
Major
6 months ago2 years old
function 'getAnswers' seems to be a getter but it does not return any result
177	}
178}
179
180func getAnswers(params *editParams, issue *jira.Issue) {181	answer := struct{ Action string }{}
182	for answer.Action != cmdcommon.ActionSubmit {
183		err := survey.Ask([]*survey.Question{cmdcommon.GetNextAction()}, &answer)