Skip to content

Commit 5a06a72

Browse files
committed
hotfix
1 parent e1b9b47 commit 5a06a72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helix-term/src/commands.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,8 +1053,8 @@ fn goto_file_impl(cx: &mut Context, action: Action) {
10531053
);
10541054
}
10551055
for sel in paths {
1056-
if !sel.is_empty() {
1057-
let p = sel.trim();
1056+
let p = sel.trim();
1057+
if !p.is_empty() {
10581058
if let Err(e) = cx.editor.open(&PathBuf::from(p), action) {
10591059
cx.editor.set_error(format!("Open file failed: {:?}", e));
10601060
}

0 commit comments

Comments
 (0)