diff --git a/scripts/install-dirigent-openclaw.mjs b/scripts/install-dirigent-openclaw.mjs index 25fade3..2623702 100755 --- a/scripts/install-dirigent-openclaw.mjs +++ b/scripts/install-dirigent-openclaw.mjs @@ -122,6 +122,7 @@ function findLatestInstallRecord() { // Deep clone function clone(v) { + if (v === undefined) return undefined; return JSON.parse(JSON.stringify(v)); }