Skip to content

Commit

Permalink
fix trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
brunohcastro committed Nov 18, 2017
1 parent 69f4ced commit 0b13451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -3581,7 +3581,7 @@ function getModelsMapForPopulate(model, docs, options) {
ref = ref.call(doc, doc);
}

// When referencing nested arrays, the ref should be an Array
// When referencing nested arrays, the ref should be an Array
// of modelNames.
if (Array.isArray(ref)) {
modelNames = ref;
Expand Down

0 comments on commit 0b13451

Please sign in to comment.