feat(find): let fdfind use --full-path search to include directories (#161)

This commit is contained in:
Duane Johnson 2023-01-18 09:30:34 -07:00 committed by GitHub
parent a12c131c26
commit 930c50c95f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -223,6 +223,7 @@ async fn query(arg: &str) -> io::Result<(Child, ChildStdout)> {
let spawn = |cmd: &str| -> io::Result<Child> {
Command::new(cmd)
.arg("-i")
.arg("--full-path")
.arg(arg)
.stdin(Stdio::null())
.stdout(Stdio::piped())