chore: 添加 .oxfmtrc.json 并格式化全部代码
This commit is contained in:
@@ -43,10 +43,7 @@ export const SUPPORTED_TOOLS: Record<string, (root: string) => Promise<void>> =
|
||||
"claude-code": injectClaudeCode,
|
||||
};
|
||||
|
||||
export async function runInit(
|
||||
projectRoot: string,
|
||||
tools: string[],
|
||||
): Promise<void> {
|
||||
export async function runInit(projectRoot: string, tools: string[]): Promise<void> {
|
||||
for (const tool of tools) {
|
||||
if (!SUPPORTED_TOOLS[tool]) {
|
||||
throw new CommandError(`不支持的工具: ${tool}`, {
|
||||
|
||||
Reference in New Issue
Block a user