style: fix formatting in skill-commands.test.ts and provider.ts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -72,8 +72,11 @@ let resolveSkillCommandInvocation: typeof import("./skill-commands.js").resolveS
|
||||
let skillCommandsTesting: typeof import("./skill-commands.js").__testing;
|
||||
|
||||
beforeAll(async () => {
|
||||
({ listSkillCommandsForAgents, resolveSkillCommandInvocation, __testing: skillCommandsTesting } =
|
||||
await import("./skill-commands.js"));
|
||||
({
|
||||
listSkillCommandsForAgents,
|
||||
resolveSkillCommandInvocation,
|
||||
__testing: skillCommandsTesting,
|
||||
} = await import("./skill-commands.js"));
|
||||
});
|
||||
|
||||
describe("resolveSkillCommandInvocation", () => {
|
||||
|
||||
@@ -414,9 +414,7 @@ export async function monitorDiscordProvider(opts: MonitorDiscordOpts = {}) {
|
||||
|
||||
const maxDiscordCommands = 100;
|
||||
let skillCommands =
|
||||
nativeEnabled && nativeSkillsEnabled
|
||||
? listSkillCommandsForAgents({ cfg })
|
||||
: [];
|
||||
nativeEnabled && nativeSkillsEnabled ? listSkillCommandsForAgents({ cfg }) : [];
|
||||
let commandSpecs = nativeEnabled
|
||||
? listNativeCommandSpecsForConfig(cfg, { skillCommands, provider: "discord" })
|
||||
: [];
|
||||
|
||||
Reference in New Issue
Block a user