Skip to content

fix(github): cloned repositories were not deleted afterwards#6

Open
ardubev16 wants to merge 1 commit intoGitLab-Red-Team:masterfrom
ardubev16:master
Open

fix(github): cloned repositories were not deleted afterwards#6
ardubev16 wants to merge 1 commit intoGitLab-Red-Team:masterfrom
ardubev16:master

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

Comments