Comparing version 0.7.13 to 0.7.14
@@ -167,3 +167,4 @@ var mongodb = require('mongodb'); | ||
this.findOne(arguments[0], function(err, doc) { | ||
if (err || !doc) return callback(err); | ||
if (err) return callback(err); | ||
if (!doc) return callback(null, 0); | ||
self._apply(DRIVER_COLLECTION_PROTO.remove, [doc, callback]); | ||
@@ -170,0 +171,0 @@ }); |
@@ -9,3 +9,3 @@ { | ||
], | ||
"version": "0.7.13", | ||
"version": "0.7.14", | ||
"repository": "git://github.com/gett/mongojs.git", | ||
@@ -12,0 +12,0 @@ "contributors": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22621
599