mirror of https://github.com/sharkdp/fd.git
parent
50fca2dca2
commit
08fcd7ce59
|
@ -365,7 +365,6 @@ fn spawn_senders(
|
|||
// Filter out unwanted modification times
|
||||
if !config.time_constraints.is_empty() {
|
||||
let mut matched = false;
|
||||
if entry_path.is_file() {
|
||||
if let Ok(metadata) = entry_path.metadata() {
|
||||
if let Ok(modified) = metadata.modified() {
|
||||
matched = config
|
||||
|
@ -374,7 +373,6 @@ fn spawn_senders(
|
|||
.all(|tf| tf.applies_to(&modified));
|
||||
}
|
||||
}
|
||||
}
|
||||
if !matched {
|
||||
return ignore::WalkState::Continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue