提交 0b1e94a3 编写于 作者: B Ben S

Fix bug where header line would appear twice

上级 df6544aa
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册