Skip to content

Open in github command sometimes throws "TypeError: Cannot read properties of undefined (reading 'url')" #174

@dvdplm

Description

@dvdplm

Full error message:

2024-12-06 11:50:50.709 [error] TypeError: Cannot read properties of undefined (reading 'url')
	at /Users/aggron/.vscode-insiders/extensions/ziyasal.vscode-open-in-github-1.3.6/src/extension.js:44:67
	at /Users/aggron/.vscode-insiders/extensions/ziyasal.vscode-open-in-github-1.3.6/node_modules/git-rev-2/index.js:9:5
	at ChildProcess.exithandler (node:child_process:415:7)
	at ChildProcess.emit (node:events:518:28)
	at maybeClose (node:internal/child_process:1104:16)
	at ChildProcess._handle.onexit (node:internal/child_process:304:5)

This happens sometimes and seems to depend on which repo I'm working with.

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