Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kt3k committed Nov 3, 2021
1 parent dd90ee7 commit a4aec92
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,10 @@ impl JsRuntime {
if let Ok(err_class) = v8::Local::<v8::Function>::try_from(
v8::Local::<v8::Value>::new(scope, err_class),
) {
return err_class.new_instance(scope, &[message.into()]).unwrap().into();
return err_class
.new_instance(scope, &[message.into()])
.unwrap()
.into();
}
}
v8::Exception::type_error(scope, message)
Expand Down

0 comments on commit a4aec92

Please sign in to comment.