From 91cd40262733f1670c260233e4f3f04fdcc24e5a Mon Sep 17 00:00:00 2001 From: zhi Date: Tue, 3 Mar 2026 17:02:08 +0000 Subject: [PATCH] fix(install): remove duplicate function definition - Remove empty duplicate runOpenclaw function that caused syntax error --- scripts/install-dirigent-openclaw.mjs | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/install-dirigent-openclaw.mjs b/scripts/install-dirigent-openclaw.mjs index 99bfde0..9375e5a 100755 --- a/scripts/install-dirigent-openclaw.mjs +++ b/scripts/install-dirigent-openclaw.mjs @@ -56,8 +56,6 @@ const PATH_PROVIDERS = "models.providers"; const PATH_PROVIDER_ENTRY = `models.providers.${NO_REPLY_PROVIDER_ID}`; const PATH_PLUGINS_ALLOW = "plugins.allow"; -function runOpenclaw(args, { allowFail = false } = {}) { - function runOpenclaw(args, { allowFail = false } = {}) { try { return execFileSync("openclaw", args, { encoding: "utf8" }).trim();