Skip to content

Commit cfc31ec

Browse files
committed
fix(fmt): fix prettier violations blocking CI
Auto-format tool-vault.ts and exclude .claude/ from prettier checks. The .claude/ directory is local tooling config, not project source.
1 parent 183c895 commit cfc31ec

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ dist/
22
node_modules/
33
coverage/
44
.clashcode/
5+
.claude/
56
pnpm-lock.yaml
67
*.md

src/core/clash-engine/tool-vault.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,7 @@ export class ToolVault {
7474
}
7575

7676
/** Get OpenAI-format tool definitions for a set of tool names. */
77-
toOpenAIFormat(
78-
names?: string[],
79-
): Array<{
77+
toOpenAIFormat(names?: string[]): Array<{
8078
type: 'function'
8179
function: { name: string; description: string; parameters: Record<string, unknown> }
8280
}> {

0 commit comments

Comments
 (0)