summaryrefslogtreecommitdiff
path: root/cli/lsp/testing/collectors.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-04-08 12:31:47 -0400
committerGitHub <noreply@github.com>2022-04-08 12:31:47 -0400
commita4c1e1bdcf3bd295d624c266278670e08227b26b (patch)
tree49ca167dc1c867337d834327987c95f72b57b086 /cli/lsp/testing/collectors.rs
parente411747e24b998c8178d0689aa7d63b0ad0e7046 (diff)
fix: upgrade to swc_ecmascript 0.143 (#14238)
Diffstat (limited to 'cli/lsp/testing/collectors.rs')
-rw-r--r--cli/lsp/testing/collectors.rs3
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());
}
}
}