diff --git a/src/repository/node_path.rs b/src/repository/node_path.rs index 2e2307c..92411a4 100644 --- a/src/repository/node_path.rs +++ b/src/repository/node_path.rs @@ -9,7 +9,13 @@ impl NodePath { Self { base } } + #[cfg(not(target_os = "windows"))] pub fn bin(&self) -> PathBuf { self.base.join("bin") } + + #[cfg(target_os = "windows")] + pub fn bin(&self) -> PathBuf { + self.base.to_owned() + } }