Skip to content
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

Support CSV format for get_info and allow including any violation types #110

Merged
merged 8 commits into from
Oct 13, 2023
Prev Previous commit
Next Next commit
Include architecture violations on get_info
  • Loading branch information
oboxodo committed Oct 12, 2023
commit 8c874fe58f3e7d7e483d582183c732a6d4178dfa
2 changes: 1 addition & 1 deletion lib/packs/private.rb
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ def self.packwerk_package_to_pack(package)
def self.get_info(packs: Packs.all, format: :detail)
require 'csv' if format == :csv

violation_types = %i[privacy dependency]
violation_types = %i[privacy dependency architecture]
violations = {
inbound: {},
outbound: {}
Expand Down