Skip to content

restore-file doesn't work on Enterprise Server #9938

Description

@winterqt

Description

After clicking "discard changes" on a PR, Expected ``absolute`` to be "user/repo:branch", got "" gets thrown in in pr-branches' parseReferenceRaw function.

How to replicate the issue + URL

I haven't tested this on github.com. I can, if you'd like, though I suspect it works just fine. This is on GitHub Enterprise Server 3.21.3. I don't know the level of support provided for GHES (probably best-effort), but let me know if there's any useful debugging info I can collect.

It looks like the HTML structure diverged from what's expected, given that absolute is an empty string, though I haven't done too much digging.

Extension version

(26.7.26)

Browser(s) used

Firefox 153.0.1

Token ⚠️

  • I set a token in the options page. I understand that some features require a token to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions