style: 自动格式化

This commit is contained in:
爱特每羊队
2026-06-27 17:49:36 +08:00
parent a78056f2ff
commit 09a9d3dfd2
2 changed files with 11 additions and 2 deletions
+6 -1
View File
@@ -288,7 +288,12 @@ pub fn object_define_property<H: VmHost>(vm: &mut H, args: &[u8]) -> NativeResul
} else {
if existing_pos.is_none() {
if vm
.define_data_property(obj, si, JsValue::undefined(), PropAttributes::new(false, enumerable, configurable))
.define_data_property(
obj,
si,
JsValue::undefined(),
PropAttributes::new(false, enumerable, configurable),
)
.is_err()
{
return NativeResult::Err(crate::error::create_type_error(vm, "Cannot define property"));