Skip to content

Commit

Permalink
fix(spell-list): Fix problem with patching archetypes
Browse files Browse the repository at this point in the history
fixes: #460
  • Loading branch information
symposion committed Apr 7, 2017
1 parent 7524336 commit 16ebf47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/entity-lookup.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ function patchEntity(original, patch) {
}
return existing;
}).filter(_.negate(_.isUndefined));
newList.push.apply(newList, additions.map(addition => addition.name || addition));
newList.push.apply(newList, additions);
return newList;
}
return _.isUndefined(patch[propName]) ? propVal : patch[propName];
Expand Down

0 comments on commit 16ebf47

Please sign in to comment.