Fix bin path for windows builds

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

@ -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()
}
}

Loading…
Cancel
Save