From 40db2cc97df14780152478b7552c5445f5dc3f5e Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Sun, 12 Sep 2021 16:40:49 -0400 Subject: [PATCH] Remove then() --- utils/GunSmith/GunSmith.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/utils/GunSmith/GunSmith.js b/utils/GunSmith/GunSmith.js index 0d452707..47976e39 100644 --- a/utils/GunSmith/GunSmith.js +++ b/utils/GunSmith/GunSmith.js @@ -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(