From a4c1e1bdcf3bd295d624c266278670e08227b26b Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 8 Apr 2022 12:31:47 -0400 Subject: fix: upgrade to swc_ecmascript 0.143 (#14238) --- cli/lsp/testing/collectors.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cli/lsp/testing') diff --git a/cli/lsp/testing/collectors.rs b/cli/lsp/testing/collectors.rs index 572c03726..33ad3a7ab 100644 --- a/cli/lsp/testing/collectors.rs +++ b/cli/lsp/testing/collectors.rs @@ -163,8 +163,7 @@ fn check_call_expr( ast::Expr::Tpl(tpl) => { if tpl.quasis.len() == 1 { if let Some(tpl_element) = tpl.quasis.get(0) { - maybe_name = - Some(tpl_element.raw.value.to_string()); + maybe_name = Some(tpl_element.raw.to_string()); } } } -- cgit v1.2.3