Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make review.openLocalFile support triggering from the keyboard. #5840

Merged
merged 1 commit into from Mar 18, 2024

Conversation

ipcjs
Copy link
Contributor

@ipcjs ipcjs commented Mar 18, 2024

After configuring a keyboard shortcut for the review.openLocalFile command, triggering the keyboard shortcut will report the following error:

2024-03-18 14:43:41.194 [error] TypeError: Cannot read properties of undefined (reading 'query')
	at /Users/ipcjs/.vscode/extensions/github.vscode-pull-request-github-0.82.0/dist/extension.js:2024:1200
	at l.h (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:184839)
	at l.$executeContributedCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:185699)

This PR fixes this issue.

@alexr00 alexr00 added this to the March 2024 milestone Mar 18, 2024
Copy link
Member

@alexr00 alexr00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for the PR!

@alexr00 alexr00 enabled auto-merge (squash) March 18, 2024 08:59
@alexr00 alexr00 merged commit cc56054 into microsoft:main Mar 18, 2024
3 checks passed
@ipcjs ipcjs deleted the pr-openLocalFile-keybinds branch March 18, 2024 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants