From a214aaba8891c066b1695eeb0cffdc5b4a1fb0be Mon Sep 17 00:00:00 2001 From: Jeff Date: Wed, 24 Apr 2019 11:36:26 -0400 Subject: [PATCH] Fix spelling of "Expressions" --- .../babel-plugin-transform-template-literals/src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/babel-plugin-transform-template-literals/src/index.js b/packages/babel-plugin-transform-template-literals/src/index.js index 9126a64b4569..ba1bc4eae6bd 100644 --- a/packages/babel-plugin-transform-template-literals/src/index.js +++ b/packages/babel-plugin-transform-template-literals/src/index.js @@ -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); @@ -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);