mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-21 23:01:05 +00:00
fix: remove redundant check to allow operations on the shell command with an empty file list
This commit is contained in:
parent
bd572706cd
commit
1835fba8ea
1 changed files with 1 additions and 3 deletions
|
|
@ -69,9 +69,7 @@ impl Tasks {
|
|||
}
|
||||
|
||||
pub fn file_open_with(&self, opener: &Opener, args: &[impl AsRef<OsStr>]) {
|
||||
if args.len() < 2 {
|
||||
return;
|
||||
} else if opener.spread {
|
||||
if opener.spread {
|
||||
self.scheduler.process_open(opener, args);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue