(v *variables.Variable)
| 308 | } |
| 309 | |
| 310 | func formatVariableSelection(v *variables.Variable) string { |
| 311 | value := v.Value |
| 312 | if v.IsSensitive { |
| 313 | value = "***" |
| 314 | } |
| 315 | if value == "" { |
| 316 | value = output.Dim("(no value)") |
| 317 | } |
| 318 | |
| 319 | return fmt.Sprintf("%s (%s) = %s", v.Name, output.Dim(v.GetID()), value) |
| 320 | } |
| 321 | |
| 322 | func projectSelector(questionText string, getAllProjectsCallback shared.GetAllProjectsCallback, ask question.Asker) (*projects.Project, error) { |
| 323 | existingProjects, err := getAllProjectsCallback() |
no test coverage detected