Skip to content

Commit

Permalink
fix bug (#3740)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlu1248 authored May 14, 2024
2 parents 361a7d0 + ac9ee81 commit 4c11a79
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion sweepai/handlers/create_pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ def handle_file_change_requests(
return (
modify_files_dict,
False,
None,
file_change_requests,
)

Expand Down
2 changes: 1 addition & 1 deletion sweepai/handlers/on_ticket.py
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ def edit_sweep_comment(
)
validate_file_change_requests(file_change_requests, cloned_repo)
previous_modify_files_dict: dict[str, dict[str, str | list[str]]] | None = None
modify_files_dict, changed_file, commit, file_change_requests = handle_file_change_requests(
modify_files_dict, _, file_change_requests = handle_file_change_requests(
file_change_requests=file_change_requests,
request=sweep_bot.human_message.get_issue_request(),
branch_name=pull_request.branch_name,
Expand Down

0 comments on commit 4c11a79

Please sign in to comment.