From fecf4c5b55be7ec683cf7cfc745b5f9f5484d713 Mon Sep 17 00:00:00 2001 From: Marco Allegretti Date: Fri, 9 Oct 2026 10:29:32 +0000 Subject: [PATCH] fix(app-shell): report a UI path that is not absolute --- crates/weft-app-shell/src/embedder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/weft-app-shell/src/embedder.rs b/crates/weft-app-shell/src/embedder.rs index bcd057b..5f7529f 100644 --- a/crates/weft-app-shell/src/embedder.rs +++ b/crates/weft-app-shell/src/embedder.rs @@ -674,7 +674,7 @@ pub fn run( ui: &std::path::Path, ) -> anyhow::Result<()> { let url = ServoUrl::from_file_path(ui) - .map_err(|()| anyhow::anyhow!("{} is not an absolute path", ui.display()))?; + .map_err(|_| anyhow::anyhow!("{} is not an absolute path", ui.display()))?; tracing::info!(%app_id, %url, "showing application UI"); let event_loop = EventLoop::::with_user_event()