style: oxfmt fixes (#925) (thanks @grp06)

This commit is contained in:
Peter Steinberger
2026-01-15 03:22:54 +00:00
parent 8f797f213e
commit 5c52dbf661
5 changed files with 11 additions and 11 deletions

View File

@@ -141,8 +141,7 @@ const listHookChannelValues = () => ["last", ...listChannelPlugins().map((plugin
export type HookMessageChannel = ChannelId | "last";
const getHookChannelSet = () => new Set<string>(listHookChannelValues());
export const getHookChannelError = () =>
`channel must be ${listHookChannelValues().join("|")}`;
export const getHookChannelError = () => `channel must be ${listHookChannelValues().join("|")}`;
export function resolveHookChannel(raw: unknown): HookMessageChannel | null {
if (raw === undefined) return "last";