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(pickers/telescope): handle nil selection in open #662

Merged

Conversation

legobeat
Copy link
Contributor

@legobeat legobeat commented Nov 3, 2024

Describe what this PR does / why we need it

It may happen that selection is nil, which results in an error being logged.

Does this pull request fix one issue?

Describe how you did it

This silently skips the failing function in such cases.

Describe how to verify it

Run Octo pr search and fiddle around with filtering and navigation

Special notes for reviews

Checklist

  • Passing tests and linting standards
  • Documentation updates in README.md and doc/octo.txt

@legobeat legobeat marked this pull request as ready for review November 3, 2024 04:48
@legobeat legobeat force-pushed the telescope-handle-nil-selection branch from 36cb411 to 1794058 Compare November 3, 2024 05:05
@pwntester
Copy link
Owner

Thanks!

@pwntester pwntester merged commit 407fabc into pwntester:master Nov 4, 2024
2 checks passed
@legobeat legobeat deleted the telescope-handle-nil-selection branch November 5, 2024 00:49
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.

2 participants