Skip to content

Commit 8057875

Browse files
autofix-ci[bot]camc314
authored andcommitted
[autofix.ci] apply automated fixes
1 parent 0259497 commit 8057875

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/oxc_linter/src/rules/unicorn/require_post_message_target_origin.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ fn is_message_port_expression(expr: &Expression<'_>) -> bool {
9595
return false;
9696
};
9797

98-
if member_expr.static_property_name().is_some_and(|name| matches!(name, "port1" | "port2")) {
98+
if member_expr.static_property_name().is_some_and(|name| matches!(name, "port1" | "port2"))
99+
{
99100
return true;
100101
}
101102

0 commit comments

Comments
 (0)