From 9c43536f34df2b1a588ef5249222902d884d5ad2 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Wed, 27 Nov 2024 17:55:12 -0600 Subject: [PATCH] Make `AxoUpdater::install_prefix_root` public --- 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(),