mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-29 07:03:54 +00:00
Fix bug where header line would appear twice
This commit is contained in:
parent
df6544aae0
commit
0b1e94a3c8
@ -65,7 +65,9 @@ fn exa(opts: &Options) {
|
||||
let print_dir_names = opts.path_strs.len() > 1;
|
||||
let mut first = files.is_empty();
|
||||
|
||||
view(opts, files);
|
||||
if !files.is_empty() {
|
||||
view(opts, files);
|
||||
}
|
||||
|
||||
for dir_name in dirs.into_iter() {
|
||||
if first {
|
||||
|
Loading…
Reference in New Issue
Block a user