Remove then()

This commit is contained in:
Daniel Lugo 2021-09-12 16:40:49 -04:00
parent 0f5565debf
commit 40db2cc97d

View file

@ -351,12 +351,6 @@ function createReplica(path, afterMap = false) {
}
return this
},
then() {
if (afterMap) {
throw new Error('Cannot call then() after map() on a GunSmith node')
}
return Promise.resolve(null)
},
user(pub) {
if (path !== '$root') {
throw new ReferenceError(