eth0izzle / shhgit

Ah shhgit! Find secrets in your code. Secrets detection for your GitHub, GitLab and Bitbucket repositories.
MIT License
3.83k stars 481 forks source link

Fixed matching file path in csv export report for windows platform #75

Open amrityam opened 3 years ago

amrityam commented 3 years ago

While exporting the csv scan report, the path of the matching file was showing full path separated by '/' in windows platform which in actual case should show only relative file path separated by '/'.This bug was fixed by removing path = filepath.ToSlash(path) inside NewMatchFile function in core/match.go file.