From f50ba83d31af6df49db4485dc7e6d0ed6a50222f Mon Sep 17 00:00:00 2001 From: Hide_D Date: Fri, 25 Mar 2022 23:50:41 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20APIPathGen=20=ED=98=B8=EC=B6=9C=20?= =?UTF-8?q?=EC=8B=9C=20=EC=A4=91=EA=B0=84=20=EA=B2=BD=EB=A1=9C=20=EC=BA=90?= =?UTF-8?q?=EC=8B=B1=EC=8B=9C=20=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/ts/util/APIPathGen.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hwe/ts/util/APIPathGen.js b/hwe/ts/util/APIPathGen.js index 0b877b40..fa4d05ed 100644 --- a/hwe/ts/util/APIPathGen.js +++ b/hwe/ts/util/APIPathGen.js @@ -12,8 +12,7 @@ export function APIPathGen(obj, callback, path) { nextPath = [key]; } else { - nextPath = path; - nextPath.push(key); + nextPath = [...path, key]; } if (!(key in target)) {