Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spelling of "Expressions" #9896

Merged
merged 1 commit into from Apr 26, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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