()
| 16 | } |
| 17 | |
| 18 | func (e *Editor) editorCommand() string { |
| 19 | if e.EditorCommand == "" { |
| 20 | return getDefaultEditor() |
| 21 | } |
| 22 | |
| 23 | return e.EditorCommand |
| 24 | } |
| 25 | |
| 26 | var EditorQuestionTemplate = ` |
| 27 | {{- if .ShowHelp }}{{- color .Config.Icons.Help.Format }}{{ .Config.Icons.Help.Text }} {{ .Help }}{{color "reset"}}{{"\n"}}{{end}} |
no test coverage detected