Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor code which reformats GitHub issues #249

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

webbnh
Copy link
Collaborator

@webbnh webbnh commented Dec 4, 2024

This PR is the second in the series of refactorings originally set out in #207 which endeavors to replace duplicated code in Sync2Jira with common subroutines; this is the follow-on to #248.

The change moves the common code from handle_github_message() and github_issues() into a common subroutine, reformat_github_issue(). It also factors out a common subexpression in handle_github_message() into a local variable.

@ralphbean ralphbean merged commit b03daff into main Dec 4, 2024
6 checks passed
@ralphbean ralphbean deleted the refactor-reformat-GitHub-issues branch December 4, 2024 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants