microsoft / sarif-js-sdk

JavaScript code and supporting files for working with the 'Static Analysis Results Interchange Format' (SARIF, see https://github.com/oasis-tcs/sarif-spec)
MIT License
26 stars 13 forks source link

Ensure uniqueness in suppressions #87

Closed martgil closed 5 months ago

martgil commented 5 months ago

This PR addresses an issue with duplicate items in the suppressions array, which was causing complaints from upload-sarif. By ensuring uniqueness in the suppressions array, we prevent duplicate items from being pushed. This improves the reliability of the SARIF upload process and resolves the issue reported by upload-sarif.

Changes made include implementing a mechanism to enforce uniqueness in the suppressions array, ensuring that each item is added only once.

close #86

martgil commented 5 months ago

please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.

@microsoft-github-policy-service agree