This script compared paths relative to the report directory to test for exclusion,
meaning the EXCLUDE_DIRS
directory exclusions did not work properly, as
they were relative to the project root.
Fix this by creating absolute paths through the combination of: ‘git ls-files –full-name’ and ‘git rev-parse –show-toplevel’
Once this is done, we can stop testing for the names that would otherwise appear when exclusion of leveldb, secp256k1, etc., did not work as intended.