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(github): cloned repositories were not deleted afterwards #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ardubev16
Copy link

GitHub repositories were not deleted after analysis, this is because the path variable in the AnalyzeRepositories() function (core/analysis.go) was an empty string.

After some analysis I figured out that the temporary directory dir created in github/git.go was declared and assigned instead of just assigned, thus shadowing the dir declaration on line 35, resulting in the returned variable being empty.

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.

1 participant