mirror of
https://github.com/sharkdp/bat
synced 2026-08-05 19:11:42 +00:00
Refactoring, introduce Printer trait
This commit is contained in:
+6
-1
@@ -104,7 +104,12 @@ fn run() -> Result<bool> {
|
||||
|
||||
Ok(true)
|
||||
} else {
|
||||
print_files(&assets, &config)
|
||||
if config.loop_through {
|
||||
// TODO
|
||||
print_files(&assets, &config)
|
||||
} else {
|
||||
print_files(&assets, &config)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user