The `issue comment` command would perform a `filepath.Base()` on the value of EDITOR and use the result for launching the editor, which is undesireable for both functional and display purposes: - For functional purposes, always shellsplit the value of GH_EDITOR or EDITOR before we shell out to that process; - For display purposes, extract the basename only after shellsplitting. |
||
|---|---|---|
| .. | ||
| editor.go | ||
| editor_manual.go | ||
| editor_test.go | ||