Skip to content

Don't exclude bazel-out #920

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <file>` option.
- Added `github-markdown` output format.
- Added the `--write-results <file>` option.
- Added the `github-markdown` output format.

##### Bug Fixes

Expand Down
1 change: 0 additions & 1 deletion Sources/ProjectDrivers/BazelProjectDriver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)")

Expand Down
Loading