Skip to content

restore-file: Expected absolute to be "user/repo:branch", got "" #9898

Closed

Description

@csalerno-asml

Description

TypeError: Expected `absolute` to be "user/repo:branch", got ""
    at parseReferenceRaw (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/github-helpers/pr-branches.js:14:9)
    at parseReference (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/github-helpers/pr-branches.js:37:9)
    at get base (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/github-helpers/pr-branches.js:43:11)
    at getHeadReference (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/features/restore-file.js:25:9)
    at discardChanges (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/features/restore-file.js:52:3)
    at showToast.message (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/features/restore-file.js:134:36)
    at showToast (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/github-helpers/toast.js:86:10)
    at async HTMLHtmlElement.handleClick (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/features/restore-file.js:134:2)

How to replicate the issue + URL

https://snip/pull/2240/files

Extension version

(26.7.26)

Browser(s) used

Microsoft Edge

Token ⚠️

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

Activity

  1. fregante commented on Jul 29, 2026

    @fregante
    Member

    Can't repro without a real URL

  2. fregante commented on Jul 29, 2026

    @fregante
    Member

    Also you did not set your token and lied about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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