From ea9aad9b5d1e9a10278f9ae712526cfc2d62d6ff Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Mon, 11 Oct 2021 13:58:10 -0500 Subject: [PATCH] fix to allow windows to compile --- crates/nu-command/src/filesystem/rm.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/nu-command/src/filesystem/rm.rs b/crates/nu-command/src/filesystem/rm.rs index 39626bb453..e10206a1c6 100644 --- a/crates/nu-command/src/filesystem/rm.rs +++ b/crates/nu-command/src/filesystem/rm.rs @@ -1,4 +1,5 @@ use std::env::current_dir; +#[cfg(unix)] use std::os::unix::prelude::FileTypeExt; use std::path::PathBuf;