Fix bin path for windows builds

feature/lookup-installed
trivernis 2 years ago
parent 203a211ee2
commit 5e019de701
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -9,7 +9,13 @@ impl NodePath {
Self { base } Self { base }
} }
#[cfg(not(target_os = "windows"))]
pub fn bin(&self) -> PathBuf { pub fn bin(&self) -> PathBuf {
self.base.join("bin") self.base.join("bin")
} }
#[cfg(target_os = "windows")]
pub fn bin(&self) -> PathBuf {
self.base.to_owned()
}
} }

Loading…
Cancel
Save