(editor: Editor, host_alias: &str)
| 1587 | } |
| 1588 | |
| 1589 | fn launch_editor(editor: Editor, host_alias: &str) -> Result<()> { |
| 1590 | launch_editor_command( |
| 1591 | editor.binary(), |
| 1592 | editor.label(), |
| 1593 | &Editor::remote_target(host_alias), |
| 1594 | ) |
| 1595 | } |
| 1596 | |
| 1597 | fn launch_editor_command(binary: &str, label: &str, remote_target: &str) -> Result<()> { |
| 1598 | let status = Command::new(binary) |
no test coverage detected