style: fix extension lint violations

This commit is contained in:
Peter Steinberger
2026-04-06 14:45:04 +01:00
parent e8141716b4
commit af62a2c2e4
380 changed files with 2067 additions and 1501 deletions

View File

@@ -1,6 +1,5 @@
import type { AgentToolResult } from "@mariozechner/pi-agent-core";
import { readBooleanParam } from "openclaw/plugin-sdk/boolean-param";
import { resolveReactionMessageId } from "openclaw/plugin-sdk/channel-actions";
import {
jsonResult,
readNumberParam,
@@ -9,8 +8,9 @@ import {
readStringOrNumberParam,
readStringParam,
resolvePollMaxSelections,
resolveReactionMessageId,
} from "openclaw/plugin-sdk/channel-actions";
import type { OpenClawConfig, TelegramActionConfig } from "openclaw/plugin-sdk/config-runtime";
import type { OpenClawConfig } from "openclaw/plugin-sdk/config-runtime";
import { createTelegramActionGate, resolveTelegramPollActionGateState } from "./accounts.js";
import {
fitsTelegramCallbackData,
@@ -636,5 +636,5 @@ export async function handleTelegramAction(
return jsonResult(result);
}
throw new Error(`Unsupported Telegram action: ${action}`);
throw new Error(`Unsupported Telegram action: ${String(action)}`);
}