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:
Shivam
2026-02-26 18:22:14 +05:30
committed by Shakker
parent 48decefbf4
commit fb4f52b710
2 changed files with 6 additions and 5 deletions

View File

@@ -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", () => {

View File

@@ -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" })
: [];