mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 19:01:36 +00:00
chore: Enable more lint rules, disable some that trigger a lot. Will clean up later.
This commit is contained in:
@@ -45,8 +45,8 @@ export function registerPluginCliCommands(program: Command, cfg?: OpenClawConfig
|
||||
workspaceDir,
|
||||
logger,
|
||||
});
|
||||
if (result && typeof (result as Promise<void>).then === "function") {
|
||||
void (result as Promise<void>).catch((err) => {
|
||||
if (result && typeof result.then === "function") {
|
||||
void result.catch((err) => {
|
||||
log.warn(`plugin CLI register failed (${entry.pluginId}): ${String(err)}`);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user