Fix failing CI check

- crates/engine/src/script.rs
This commit is contained in:
aiongg authored and Dylan M. Taylor committed 2026-11-10 21:47:43 -05:00
1 parent 95acc4d47e
commit ef82d650db
1 file changed
+3 -2
+3 -2
View File
@@ -150,8 +150,9 @@ pub fn resolve(params: &Value, results: &[Value]) -> Result<Value, String> {
}
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)
}