From ab4e8129d5c94ff96e6c85d0d2b66a04a052b4e5 Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期四, 09 六月 2022 15:26:15 +0800
Subject: [PATCH] TODO#139888 嚴選配對 - 文案修改

---
 PAMapp/node_modules/@babel/plugin-transform-parameters/lib/rest.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/PAMapp/node_modules/@babel/plugin-transform-parameters/lib/rest.js b/PAMapp/node_modules/@babel/plugin-transform-parameters/lib/rest.js
index 6d853c3..80a5934 100644
--- a/PAMapp/node_modules/@babel/plugin-transform-parameters/lib/rest.js
+++ b/PAMapp/node_modules/@babel/plugin-transform-parameters/lib/rest.js
@@ -211,6 +211,7 @@
   } = path;
   if (!hasRest(node)) return false;
   let rest = node.params.pop().argument;
+  if (rest.name === "arguments") scope.rename(rest.name);
 
   const argsId = _core.types.identifier("arguments");
 

--
Gitblit v1.8.0