mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-31 20:03:37 +00:00
chore: remove debug logs from issue validation
Remove console.log and logger.debug calls that were added during development. Keep essential logger.info and logger.error calls. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -216,14 +216,6 @@ export function useIssueValidation({
|
||||
} = {}
|
||||
) => {
|
||||
const { forceRevalidate = false, comments, linkedPRs } = options;
|
||||
console.log('[useIssueValidation] handleValidateIssue called with:', {
|
||||
issueNumber: issue.number,
|
||||
forceRevalidate,
|
||||
commentsProvided: !!comments,
|
||||
commentsCount: comments?.length ?? 0,
|
||||
linkedPRsProvided: !!linkedPRs,
|
||||
linkedPRsCount: linkedPRs?.length ?? 0,
|
||||
});
|
||||
|
||||
if (!currentProject?.path) {
|
||||
toast.error('No project selected');
|
||||
@@ -261,12 +253,6 @@ export function useIssueValidation({
|
||||
comments, // Include comments if provided
|
||||
linkedPRs, // Include linked PRs if provided
|
||||
};
|
||||
console.log('[useIssueValidation] Sending validation request:', {
|
||||
hasComments: !!validationInput.comments,
|
||||
commentsCount: validationInput.comments?.length ?? 0,
|
||||
hasLinkedPRs: !!validationInput.linkedPRs,
|
||||
linkedPRsCount: validationInput.linkedPRs?.length ?? 0,
|
||||
});
|
||||
const result = await api.github.validateIssue(
|
||||
currentProject.path,
|
||||
validationInput,
|
||||
|
||||
Reference in New Issue
Block a user