mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
fix(prettier): incorrect square brackets in ComputedMemberExpression (#1363)
This commit is contained in:
parent
a0a61df71f
commit
5af76b4bcd
1 changed files with 1 additions and 1 deletions
|
|
@ -754,7 +754,7 @@ impl<'a> Format<'a> for ComputedMemberExpression<'a> {
|
|||
}
|
||||
parts.push(ss!("["));
|
||||
parts.push(format!(p, self.expression));
|
||||
parts.push(ss!("["));
|
||||
parts.push(ss!("]"));
|
||||
|
||||
Doc::Array(parts)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue