Fix regression bug in sandbox
This commit is contained in:
1 parent
a9c8bbe21b
commit
d06d59e342
1 file changed
+1
-1
+1
-1
@@ -176,7 +176,7 @@ function declare(path, timestamps, values) {
|
||||
function clear(path, timestamp, attributes) {
|
||||
state.uncommitted = true;
|
||||
|
||||
if (state.revision === maxRevision)
|
||||
if (state.revision === state.maxRevision)
|
||||
state.clear.push([common.parsePath(path), timestamp, attributes]);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user