fix: do not stop at first url at goto_file (#10622)

This commit is contained in:
Kitsu 2024-04-29 10:18:58 -03:00 committed by GitHub
parent 8db93013fb
commit ec224798e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1256,7 +1256,8 @@ fn goto_file_impl(cx: &mut Context, action: Action) {
} }
if let Ok(url) = Url::parse(p) { if let Ok(url) = Url::parse(p) {
return open_url(cx, url, action); open_url(cx, url, action);
continue;
} }
let path = &rel_path.join(p); let path = &rel_path.join(p);