Skip to content

Commit

Permalink
feat: make AxoUpdater::install_prefix_root public (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb authored Dec 4, 2024
1 parent febc87a commit cfdad67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion axoupdater/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ impl AxoUpdater {
/// component if necessary. Works around a bug introduced in cargo-dist
/// where this field was returned inconsistently in receipts for a few
/// versions.
fn install_prefix_root(&self) -> AxoupdateResult<Utf8PathBuf> {
pub fn install_prefix_root(&self) -> AxoupdateResult<Utf8PathBuf> {
let Some(install_prefix) = &self.install_prefix else {
return Err(AxoupdateError::NotConfigured {
missing_field: "install_prefix".to_owned(),
Expand Down

0 comments on commit cfdad67

Please sign in to comment.