add missing semicolon

This commit is contained in:
Sebastian McKenzie 2015-01-15 02:27:45 +11:00
parent bf66d78210
commit 98c0e185b8

View File

@ -11,7 +11,7 @@ exports.ClassExpression = function (node, parent, file, scope) {
if (!node.id) {
if (t.isProperty(parent) && parent.value === node && !parent.computed && t.isIdentifier(parent.key)) {
// var o = { foo: class {} };
node.id = parent.key
node.id = parent.key;
}
if (t.isVariableDeclarator(parent)) {