Skip to content

Commit

Permalink
fix(core/create): fixes intercepts
Browse files Browse the repository at this point in the history
  • Loading branch information
rafamel committed Oct 16, 2019
1 parent 5a4f525 commit 1015d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/create/intercepts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function intercepts<T extends CollectionTree>(
): T {
const opts = Object.assign({ prepend: true }, options);

return replace({ ...collection, types: {} }, (element, next) => {
return replace(collection, (element, next) => {
element = next(element);

return !isElementService(element) || !isServiceImplementation(element)
Expand Down

0 comments on commit 1015d0b

Please sign in to comment.