Fixed small bug

pull/2/head
Louis Chatriot 11 years ago
parent 1c09168ac6
commit f45526d7b1
  1. 2
      lib/persistence.js

@ -91,8 +91,6 @@ Persistence.prototype.persistCachedDatabase = function (cb) {
toPersist += model.serialize(doc) + '\n';
});
if (toPersist.length === 0) { return callback(null); }
fs.writeFile(this.filename, toPersist, function (err) { return callback(err); });
};

Loading…
Cancel
Save