Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Extract common "isCheckedOutPullRequest" function #2045

Open
smashwilson opened this issue Apr 8, 2019 · 0 comments
Open

Extract common "isCheckedOutPullRequest" function #2045

smashwilson opened this issue Apr 8, 2019 · 0 comments

Comments

@smashwilson
Copy link
Contributor

From #1995 (comment):

Yeah the code looks pretty similar, I'd be 👍 to extract it. That said, I'm okay shipping as is, especially since we're short on time before the Atom release. If we need this logic a third time in the future I'd say we definitely want to extract it, but for now I'm fine either way.

The common code is in lib/controllers/comment-decorations-controller.js and lib/controllers/pr-checkout-controller.js.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant