simplify check in prent_entry

This commit is contained in:
Jonah Caplan 2021-10-11 19:25:50 -04:00
parent 953f586f26
commit 2e115df9e7

View file

@ -22,7 +22,7 @@ pub fn print_entry(
config: &Config,
wants_to_quit: &Arc<AtomicBool>,
) {
let path = if entry.is_absolute() || config.no_strip {
let path = if config.no_strip {
entry
} else {
strip_current_dir(entry)