Closed ManuelBerrueta closed 10 months ago
@balgillo, let me know if you have any questions about this change :)
Thank you for your PR @ManuelBerrueta, the change looks good to me and will increase compatibility.
Please run poetry run black sarif
on the code as there is a )
out of place. Then I will merge the change.
Never mind, I'll get it merged and then I will run black afterwards
Awesome, thank you! I appreciate it, got really busy and have not been able to spin back to it!
Fixed bug in
sarif/loader.py
, where if you have a file starting withBOM
(HexEFBBBF
) it will fail to load the file. This update has been tested and it works in files with and withoutBOM
, thus it will handle regular files normally like before.