Skip to content

fix: parsec open --pr fails on GitHub Enterprise (hardcoded github.com) #203

@erishforG

Description

@erishforG

Problem

pr.rs:48에서 SSH→HTTPS 변환이 github.com 하드코딩:

.replace("git@github.com:", "https://github.com/")

GitHub Enterprise 리모트(git@github.enterprise.com:org/repo)에서 parsec open --pr 실패.
나머지 코드베이스는 parse_github_remote로 GHE를 정상 지원하고 있음.

Solution

기존 parse_github_remote 함수를 활용하여 host 동적 결정

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions