From ef82d650db8c8685e6686b4626e3e2487e32aaeb Mon Sep 17 00:00:00 2001 From: aiongg <67543387+aiongg@users.noreply.github.com> Date: Wed, 4 Nov 2026 00:15:30 +0000 Subject: [PATCH] Fix failing CI check - crates/engine/src/script.rs --- crates/engine/src/script.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/engine/src/script.rs b/crates/engine/src/script.rs index e3646476d..de2589d9f 100644 --- a/crates/engine/src/script.rs +++ b/crates/engine/src/script.rs @@ -150,8 +150,9 @@ pub fn resolve(params: &Value, results: &[Value]) -> Result { } out.push_str(rest); if out.len() > MAX_INTERPOLATED_BYTES { - return Err(format!("the interpolated text of {} is longer than {MAX_INTERPOLATED_BYTES} bytes", s.get(..40).unwrap_or(s)) - .replace('\n', " ")); + return Err( + format!("the interpolated text of {} is longer than {MAX_INTERPOLATED_BYTES} bytes", s.get(..40).unwrap_or(s)).replace('\n', " ") + ); } Value::String(out) }