From f0b93268adec796e306be88412b2409b9d51a068 Mon Sep 17 00:00:00 2001 From: Ralf Anton Beier Date: Wed, 22 Apr 2026 09:56:39 +0200 Subject: [PATCH] fix(serve): variant-scope-error banner link missing hx-push-url serve_lint::all_content_links_push_url caught a navigational in the "Invalid variant scope" error banner that spanned two source lines: line 1 had hx-get + hx-target="#content", line 2 had hx-push-url. The per-line lint rightly flagged it. Collapse the attributes onto the same source line so the lint matches. Trace: skip --- rivet-cli/src/serve/views.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rivet-cli/src/serve/views.rs b/rivet-cli/src/serve/views.rs index 8ccd31d..04f137d 100644 --- a/rivet-cli/src/serve/views.rs +++ b/rivet-cli/src/serve/views.rs @@ -18,8 +18,7 @@ fn variant_error_response(msg: &str) -> Response { "
\

Invalid variant scope

\

{}

\ -

See all declared variants \ +

See all declared variants \ or clear the filter.

\
", rivet_core::document::html_escape(msg),