From 66a32b65a65ce69a428ac9e198931acaa3dc1d57 Mon Sep 17 00:00:00 2001 From: echo094 <20028238+echo094@users.noreply.github.com> Date: Wed, 28 Aug 2024 00:08:15 +0800 Subject: [PATCH] visitor(merge-object): fix bug #116 Signed-off-by: echo094 <20028238+echo094@users.noreply.github.com> --- src/visitor/merge-object.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/visitor/merge-object.js b/src/visitor/merge-object.js index 7ef9fba..8f8155e 100644 --- a/src/visitor/merge-object.js +++ b/src/visitor/merge-object.js @@ -162,7 +162,7 @@ function mergeObject(path) { } else { path.remove() } - scope.crawl() + binding.scope.crawl() } /**