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) }