Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

refactor(update): reformat staged_asset_path function signature

Steven Enamakel3fbffd502070
diff --git a/crates/openhuman-core/src/platform/update/core.rs b/crates/openhuman-core/src/platform/update/core.rs
index bbbe09af06..069ee55c5c 100644
--- a/crates/openhuman-core/src/platform/update/core.rs
+++ b/crates/openhuman-core/src/platform/update/core.rs
@@ -124,7 +124,11 @@ fn staged_binary_staging_name() -> &'static str {
}
}
-fn staged_asset_path(dir: &std::path::Path, asset_name: &str, is_archive: bool) -> std::path::PathBuf {
+fn staged_asset_path(
+ dir: &std::path::Path,
+ asset_name: &str,
+ is_archive: bool,
+) -> std::path::PathBuf {
if is_archive || asset_name == staged_binary_name() {
dir.join(staged_binary_staging_name())
} else {