Skip to content

Commit d64cd7b

Browse files
author
Dan Wenzel
committed
I guess I can't splat...
1 parent 54cffe4 commit d64cd7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

transform.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ function transform(file, api/*, options*/) {
204204
// We've found an Ember global, or one of its nested properties.
205205
// Add it to the uses, and add its properties to the list of nested properties
206206
const identifierProperties = getIdentifierProperties(node);
207-
globalEmberWithNestedProperties.push(...identifierProperties);
207+
globalEmberWithNestedProperties = globalEmberWithNestedProperties.concat(identifierProperties);
208208
return true;
209209
}
210210
} else if (j.MemberExpression.check(node.init)) {

0 commit comments

Comments
 (0)