You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: Resolve UnboundLocalError for processed_comments_count
- Ensures `processed_comments_count` is initialized to 0 at the
beginning of the `main()` function scope, alongside other tracking
variables like `latest_overall_review_activity_dt` and
`latest_line_comment_activity_dt`.
- This prevents an `UnboundLocalError` when the script attempts to print
the number of processed line comments in scenarios where the line
comment processing loop is skipped (e.g., if no line comments are fetched).
This commit finalizes fixes for variable initialization and scoping issues.
0 commit comments