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: nil scopes match #481

Merged
merged 1 commit into from
Jan 17, 2024
Merged

Conversation

milogert
Copy link
Contributor

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 #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

Fixes pwntester#480

This makes sure we have some scope string, even if the parsed output is
nil.
@pwntester pwntester merged commit 5a04268 into pwntester:master Jan 17, 2024
2 checks passed
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.

Error "expected string, got nil" on start
3 participants