Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed console.time logging

  • Loading branch information...
commit f8f81a617fb1f4ef7698851d45ca8c58134e15b0 1 parent 7aa2549
@JoshuaGross authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  lib/mongoose-subpopulate.js
View
2  lib/mongoose-subpopulate.js
@@ -199,7 +199,6 @@ var wrapSchema = exports.wrapSchema = function wrapSchema (schema) {
// TODO: sub-sub populate
var postExec = function postExec (err, result) {
if (result) {
- console.time('postExec');
async.forEach(schema.populateStack, function (path, iter) {
var splitPath = path.split('.');
var cursor = result;
@@ -225,7 +224,6 @@ var wrapSchema = exports.wrapSchema = function wrapSchema (schema) {
}
iter();
}, function () {
- console.timeEnd('postExec');
schema.populateStack = {};
wrapCallback(err, result);
});
Please sign in to comment.
Something went wrong with that request. Please try again.