diff --git a/CHANGELOG.md b/CHANGELOG.md index 06d1f830d..33a9adf72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,12 +2,12 @@ ##### Breaking -- None. +- The `bazel-out` directory is no longer automatically excluded from results to allow for the detection of unused code in generated files. Use `--report-exclude "**/bazel-out/**/*"` to apply the previous behavior. ##### Enhancements -- Added `--write-results ` option. -- Added `github-markdown` output format. +- Added the `--write-results ` option. +- Added the `github-markdown` output format. ##### Bug Fixes diff --git a/Sources/ProjectDrivers/BazelProjectDriver.swift b/Sources/ProjectDrivers/BazelProjectDriver.swift index 6d79e5c76..bbfc784b4 100644 --- a/Sources/ProjectDrivers/BazelProjectDriver.swift +++ b/Sources/ProjectDrivers/BazelProjectDriver.swift @@ -80,7 +80,6 @@ public class BazelProjectDriver: ProjectDriver { let configPath = outputPath.appending("periphery.yml") configuration.bazel = false // Generic project mode is used for the actual scan. - configuration.reportExclude.append("**/bazel-out/**/*") try configuration.save(to: configPath) contextLogger.debug("Configuration written to \(configPath)")