mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-01-23 23:14:13 +08:00
prettier
This commit is contained in:
@@ -9,8 +9,17 @@ type PrepareConfigParams = {
|
||||
claudeCommentId?: string;
|
||||
};
|
||||
|
||||
export async function prepareMcpConfig(params: PrepareConfigParams): Promise<string> {
|
||||
const { githubToken, owner, repo, branch, additionalMcpConfig, claudeCommentId } = params;
|
||||
export async function prepareMcpConfig(
|
||||
params: PrepareConfigParams,
|
||||
): Promise<string> {
|
||||
const {
|
||||
githubToken,
|
||||
owner,
|
||||
repo,
|
||||
branch,
|
||||
additionalMcpConfig,
|
||||
claudeCommentId,
|
||||
} = params;
|
||||
try {
|
||||
const baseMcpConfig = {
|
||||
mcpServers: {
|
||||
|
||||
Reference in New Issue
Block a user