mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
fix(prettier): incorrect dot operator in MetaProperty (#1369)
fix(prettier): incorrect dot operator in MetaProperty test: update snap
This commit is contained in:
parent
6d8fa7ff36
commit
6ac6d7158f
2 changed files with 2 additions and 3 deletions
|
|
@ -1117,7 +1117,7 @@ impl<'a> Format<'a> for NewExpression<'a> {
|
|||
|
||||
impl<'a> Format<'a> for MetaProperty {
|
||||
fn format(&self, p: &mut Prettier<'a>) -> Doc<'a> {
|
||||
array![p, format!(p, self.meta), ss!(","), format!(p, self.property)]
|
||||
array![p, format!(p, self.meta), ss!("."), format!(p, self.property)]
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Compatibility: 13/173 (7.51%)
|
||||
Compatibility: 14/173 (8.09%)
|
||||
|
||||
# Failed
|
||||
|
||||
|
|
@ -81,7 +81,6 @@ Compatibility: 13/173 (7.51%)
|
|||
* import-assertions/bracket-spacing
|
||||
* import-attributes
|
||||
* import-attributes/bracket-spacing
|
||||
* import-meta
|
||||
* import-reflection
|
||||
* in
|
||||
* label
|
||||
|
|
|
|||
Loading…
Reference in a new issue