fix(install): remove duplicate function definition
- Remove empty duplicate runOpenclaw function that caused syntax error
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user