This commit is contained in:
Christopher Jeffrey 2016-04-03 03:03:13 -07:00
parent d329d6e92f
commit 2163e3965e

View File

@ -493,7 +493,7 @@ Batch.prototype.write = function write(callback) {
return this;
};
Batch.prototype.clear = function clear(callback) {
Batch.prototype.clear = function clear() {
assert(this.tree, 'Already written.');
this.ops.length = 0;
return this;