autobee 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/writers.js +1 -1
- package/package.json +1 -1
package/lib/writers.js
CHANGED
|
@@ -277,7 +277,7 @@ class Writer {
|
|
|
277
277
|
const length = await this.update()
|
|
278
278
|
if (length < this.core.length) {
|
|
279
279
|
this.addPending()
|
|
280
|
-
} else if (this !== this.localWriter && this.
|
|
280
|
+
} else if (this !== this.writers.localWriter && !this.isIndexer) {
|
|
281
281
|
await this.detachAndClose()
|
|
282
282
|
}
|
|
283
283
|
}
|