fix: upgrade to swc_ecmascript 0.143 (#14238)

This commit is contained in:
David Sherret 2022-04-08 12:31:47 -04:00 committed by GitHub
parent e411747e24
commit a4c1e1bdcf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 116 additions and 207 deletions

View file

@ -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());
}
}
}