Skip to content

Commit

Permalink
Fix spelling of "Expressions" (#9896)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpierson authored and nicolo-ribaudo committed Apr 26, 2019
1 parent cf36687 commit 293f3c9
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -23,7 +23,7 @@ export default declare((api, options) => {
* the second member and convert that one, which reflects the spec behavior
* of template literals.
*/
function buildConcatCallExressions(items) {
function buildConcatCallExpressions(items) {
let avail = true;
return items.reduce(function(left, right) {
let canBeInserted = t.isLiteral(right);
Expand Down Expand Up @@ -133,7 +133,7 @@ export default declare((api, options) => {
root = t.binaryExpression("+", root, nodes[i]);
}
} else if (nodes.length > 1) {
root = buildConcatCallExressions(nodes);
root = buildConcatCallExpressions(nodes);
}

path.replaceWith(root);
Expand Down

0 comments on commit 293f3c9

Please sign in to comment.