minor.
This commit is contained in:
parent
d329d6e92f
commit
2163e3965e
@ -493,7 +493,7 @@ Batch.prototype.write = function write(callback) {
|
|||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
|
|
||||||
Batch.prototype.clear = function clear(callback) {
|
Batch.prototype.clear = function clear() {
|
||||||
assert(this.tree, 'Already written.');
|
assert(this.tree, 'Already written.');
|
||||||
this.ops.length = 0;
|
this.ops.length = 0;
|
||||||
return this;
|
return this;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user