pwntester / octo.nvim

Edit and review GitHub issues and pull requests from the comfort of your favorite editor
MIT License
2.24k stars 124 forks source link

fix: nil scopes match #481

Closed milogert closed 5 months ago

milogert commented 5 months ago

Describe what this PR does / why we need it

This makes sure we have some scope string, even if the parsed output is nil.

Does this pull request fix one issue?

Fixes https://github.com/pwntester/octo.nvim/issues/480

Describe how you did it

Assign a default to the match.

Describe how to verify it

Get a gh version that doesn't output the scopes properly, or according to how we want to parse them.

Special notes for reviews

None