Skip to content

Commit

Permalink
fix(import): Fix error with custom JSON that still has patch attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
symposion committed Mar 29, 2017
1 parent 3a81779 commit 30a8f4e
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 @@ -54,7 +54,7 @@ module.exports = class EntityLookup {
}

_.chain(entitiesObject)
.omit('version', 'name', 'dependencies')
.omit('version', 'name', 'dependencies', 'patch')
.map((entityArray, type) => ({ entityArray, type }))
.sortBy(e => _.indexOf(this.entityOrder, e))
.each((entry) => {
Expand Down

0 comments on commit 30a8f4e

Please sign in to comment.