diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-04-08 12:31:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-08 12:31:47 -0400 |
commit | a4c1e1bdcf3bd295d624c266278670e08227b26b (patch) | |
tree | 49ca167dc1c867337d834327987c95f72b57b086 /cli/lsp/testing/collectors.rs | |
parent | e411747e24b998c8178d0689aa7d63b0ad0e7046 (diff) |
fix: upgrade to swc_ecmascript 0.143 (#14238)
Diffstat (limited to 'cli/lsp/testing/collectors.rs')
-rw-r--r-- | cli/lsp/testing/collectors.rs | 3 |
1 files changed, 1 insertions, 2 deletions
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()); } } } |