Skip to content

Commit

Permalink
Merge pull request #4830 from emberjs/dont-make-extra-promises
Browse files Browse the repository at this point in the history
don’t create extra internal promise objects
  • Loading branch information
bmac authored Feb 28, 2017
2 parents 33d2b4d + 6253707 commit 0cf6d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/-private/system/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ Store = Service.extend({
let finds = new Array(internalModels.length);

for (let i = 0; i < internalModels.length; i++) {
finds[i] = this._findByInternalModel(internalModels[i]);
finds[i] = this._findEmptyInternalModel(internalModels[i]);
}

return Promise.all(finds);
Expand Down

0 comments on commit 0cf6d90

Please sign in to comment.