Remove then()
This commit is contained in:
parent
0f5565debf
commit
40db2cc97d
1 changed files with 0 additions and 6 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue