From 3ff34951263bd582e2a23567a5c8e4d38503379e Mon Sep 17 00:00:00 2001 From: Dunqing Date: Thu, 15 Feb 2024 20:05:14 +0800 Subject: [PATCH] fix(playground): syntax check does not work (#2412) --- crates/oxc_wasm/src/options.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/oxc_wasm/src/options.rs b/crates/oxc_wasm/src/options.rs index 341fba8c749c9..67ca97cb56fec 100644 --- a/crates/oxc_wasm/src/options.rs +++ b/crates/oxc_wasm/src/options.rs @@ -23,7 +23,7 @@ impl OxcRunOptions { #[wasm_bindgen(getter)] pub fn syntax(&self) -> bool { - self.format + self.syntax } #[wasm_bindgen(setter)]