Skip to content

Commit

Permalink
Skip group if profile not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
projkov committed Feb 28, 2024
1 parent 05d7ea0 commit 6756a4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/au_core_test_kit/generator/ig_metadata_extractor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def add_metadata_from_resources
end.compact

profile_groups = resources_in_capability_statement.flat_map do |resource|
next if !resource.profile.present?
GroupMetadataExtractor.new(resource, resource.profile, metadata, ig_resources).group_metadata
end.compact

Expand Down

0 comments on commit 6756a4e

Please sign in to comment.