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

[THOG-268] Fix crash when scanning with json-legacy flag on a github repo. #491

Merged
merged 1 commit into from
Apr 30, 2022

Conversation

ahrav
Copy link
Collaborator

@ahrav ahrav commented Apr 29, 2022

What?

Fix scanning a GIthub repo with the --json-legacy flag.

Why?

The current scan will crash with the --json-legacy flag set when scanning a github repo.

How?

Pass the correct repoPath to the ConvertToLegacyJSON method so its available when we construct the legacy json response.

Screenshots (optional)

Screen Shot 2022-04-30 at 7 07 10 AM

Anything Else?

issue#419

@ahrav ahrav requested a review from a team April 29, 2022 23:41
@dustin-decker dustin-decker merged commit ac6fc02 into main Apr 30, 2022
@dustin-decker dustin-decker deleted the THOG-268-json-legacy-flag-crashes-github-scan branch April 30, 2022 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants