From cfdad67902cd25a29e26807f0e8d319976f595ce Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Tue, 3 Dec 2024 18:44:48 -0600 Subject: [PATCH] feat: make `AxoUpdater::install_prefix_root` public (#221) --- axoupdater/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/axoupdater/src/lib.rs b/axoupdater/src/lib.rs index 095808f..ca8a04b 100644 --- a/axoupdater/src/lib.rs +++ b/axoupdater/src/lib.rs @@ -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 { + pub fn install_prefix_root(&self) -> AxoupdateResult { let Some(install_prefix) = &self.install_prefix else { return Err(AxoupdateError::NotConfigured { missing_field: "install_prefix".to_owned(),