mirror of
https://github.com/sharkdp/fd.git
synced 2024-11-18 01:40:34 +01:00
simplify check in prent_entry
This commit is contained in:
parent
953f586f26
commit
2e115df9e7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue