synopsys-sig / synopsys-action

Synopsys Action consuming Synopsys scanning tools
Apache License 2.0
24 stars 18 forks source link

ERROR: error occurred while parsing the Pull Request diff: Error while reading the diff: bufio.Scanner: token too long #196

Open craigbroadman opened 10 months ago

craigbroadman commented 10 months ago

I am getting an error when trying to scan a pull request

Error while reading the diff: bufio.Scanner: token too long

I believe it's related to this file being a large diff...

image

Looking around online I have found a couple of other repositories that have had a similar issue and have fixed it by chunking up the data: