From c58b9c864900f68b209c57ee87dba3d9d67aa086 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Mon, 27 Jul 2020 23:01:51 +0900 Subject: [PATCH] Fix lint --- ecmascript/codegen/Cargo.toml | 2 +- ecmascript/codegen/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ecmascript/codegen/Cargo.toml b/ecmascript/codegen/Cargo.toml index 84339218a46..43fadaa53d2 100644 --- a/ecmascript/codegen/Cargo.toml +++ b/ecmascript/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "swc_ecma_codegen" -version = "0.28.1" +version = "0.28.2" authors = ["강동윤 "] license = "Apache-2.0/MIT" repository = "https://github.com/swc-project/swc.git" diff --git a/ecmascript/codegen/src/lib.rs b/ecmascript/codegen/src/lib.rs index ec9ad824772..35cb8070eca 100644 --- a/ecmascript/codegen/src/lib.rs +++ b/ecmascript/codegen/src/lib.rs @@ -894,7 +894,7 @@ impl<'a> Emitter<'a> { fn emit_private_prop(&mut self, n: &PrivateProp) -> Result { self.emit_leading_comments_of_pos(n.span().lo())?; - self.emit_list(n.span, Some(&n.decorators), ListFormat::Decorators); + self.emit_list(n.span, Some(&n.decorators), ListFormat::Decorators)?; self.emit_accesibility(n.accessibility)?;