mirror of
https://github.com/sharkdp/fd.git
synced 2024-11-18 09:50:34 +01:00
Fix build on Windows
This commit is contained in:
parent
042959a4af
commit
60df14f0a3
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ fn print_entry(base: &Path, entry: &PathBuf, config: &FdOptions) {
|
|||
};
|
||||
|
||||
#[cfg(not(target_family = "unix"))]
|
||||
let is_executable = |_: &std::path::PathBuf| { false };
|
||||
let is_executable = |_: Option<&std::fs::Metadata>| { false };
|
||||
|
||||
let stdout = std::io::stdout();
|
||||
let mut handle = stdout.lock();
|
||||
|
|
Loading…
Reference in a new issue