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

Extract common "isCheckedOutPullRequest" function #2045

Open
@smashwilson

Description

@smashwilson

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions