From 26a09f08cf1ed43c640879f23fdad56c5c9282f7 Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期四, 09 六月 2022 15:02:38 +0800
Subject: [PATCH] TODO#139884 Banner 1 文案調整

---
 PAMapp/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/lib/index.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/PAMapp/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/lib/index.js b/PAMapp/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/lib/index.js
index 602bad9..9643d31 100644
--- a/PAMapp/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/lib/index.js
+++ b/PAMapp/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/lib/index.js
@@ -39,7 +39,7 @@
           ref = node.left;
           assignment = _core.types.cloneNode(node.left);
         } else if (scope.path.isPattern()) {
-          path.replaceWith(_core.template.ast`(() => ${path.node})()`);
+          path.replaceWith(_core.template.statement.ast`(() => ${path.node})()`);
           return;
         } else {
           ref = scope.generateUidIdentifierBasedOnNode(node.left);

--
Gitblit v1.8.0